forked from simonjbeaumont/ocaml-pci
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request simonjbeaumont#1 from psafont/dune
Dunify project
- Loading branch information
Showing
29 changed files
with
137 additions
and
9,460 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
_build | ||
setup.data | ||
setup.log | ||
*.native | ||
*.byte | ||
*.docdir | ||
.merlin | ||
*.install | ||
.coverage/ | ||
.gh-pages/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,25 @@ | ||
language: c | ||
sudo: required | ||
dist: trusty | ||
branches: | ||
only: master | ||
os: linux | ||
dist: xenial | ||
install: | ||
- wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh | ||
- wget https://raw.githubusercontent.com/simonjbeaumont/ocaml-travisci-skeleton/docgen/.travis-docgen.sh | ||
- wget https://raw.githubusercontent.com/simonjbeaumont/ocaml-travis-coveralls/master/travis-coveralls.sh | ||
script: bash -ex .travis-opam.sh && bash -ex .travis-docgen.sh && bash -ex travis-coveralls.sh | ||
- wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-opam.sh | ||
script: bash -ex .travis-opam.sh | ||
jobs: | ||
include: | ||
- env: OCAML_VERSION=4.08 | ||
- env: OCAML_VERSION=4.10 | ||
env: | ||
global: | ||
- OCAML_VERSION=4.02 TESTS=true | ||
- COV_CONF="./configure --enable-tests" | ||
- secure: jgNNAbrODFH0dyZLrXD/zSI/U4luCwalj/Lqoz3IRMXwscshmIQDcp0KCghh6s65qCuMDlVjVwM8Kn+wftY40HRuuf+XA6hMpH8Jmbr4Qi3l5EnotLS4AH/GWhu/nP3F3MbaML+kUgg0GeH19qZ4npteefhDcONxw6xtvIR/6rg= | ||
- PACKAGE="pci" | ||
|
||
deploy: | ||
provider: pages:git | ||
local_dir: $TRAVIS_BUILD_DIR/_build/default/_doc/_html | ||
token: $GITHUB_TOKEN | ||
keep_history: true | ||
target_branch: gh_pages | ||
on: | ||
branch: master | ||
condition: $OCAML_VERSION = 4.10 | ||
edge: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
(library | ||
(name pci_bindings) | ||
(public_name pci.bindings) | ||
(libraries ctypes.stubs ctypes ctypes.foreign.threaded) | ||
) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
(lang dune 2.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(executable | ||
(name lspci) | ||
(libraries pci) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
(rule | ||
(targets ffi_generated.ml) | ||
(deps ../stubgen/ffi_stubgen.exe) | ||
(action (with-stdout-to %{targets} (bash "%{deps} -ml"))) | ||
) | ||
|
||
(rule | ||
(targets ffi_generated_stubs.c) | ||
(deps ../stubgen/ffi_stubgen.exe) | ||
(action (with-stdout-to %{targets} (bash "%{deps} -c"))) | ||
) | ||
|
||
(rule | ||
(targets ffi_generated_types.ml) | ||
(deps ../stubgen/ffi_ml_types_stubgen.exe) | ||
(action (with-stdout-to %{targets} (bash "%{deps} -c"))) | ||
) | ||
|
||
(library | ||
(name pci) | ||
(public_name pci) | ||
(foreign_stubs (language c) (names ffi_generated_stubs) (flags -lpci)) | ||
(c_library_flags -lpci) | ||
(libraries pci_bindings ctypes.stubs) | ||
) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.