Skip to content

Commit

Permalink
Merge pull request #3 from samoht/topkg
Browse files Browse the repository at this point in the history
make `topkg lint` happy
  • Loading branch information
samoht committed Aug 9, 2016
2 parents 91e4255 + c0719e8 commit 691cde7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -13,7 +13,7 @@ matrix:
os: linux
- env: OCAML_VERSION=4.03
os: linux
- env: OCAML_VERSION=4.03 EXTRA_DEPS=osx-fsevents PINS="osx-cf:https://github.com/samoht/ocaml-osx-cf.git#topkg lwt:https://github.com/dsheets/lwt.git#bad-library-search-path-pthread-2.5.2"
- env: OCAML_VERSION=4.03 EXTRA_DEPS=osx-fsevents PINS="lwt:https://github.com/dsheets/lwt.git#bad-library-search-path-pthread-2.5.2"
os: osx
osx_image: xcode7.3
- env: OCAML_VERSION=4.03 EXTRA_DEPS=inotify
Expand Down
6 changes: 5 additions & 1 deletion pkg/pkg.ml
Expand Up @@ -63,11 +63,15 @@ let opams =
let lint_deps_excluding = Some ["cppo"] in
[Pkg.opam_file ~lint_deps_excluding "opam"]

let metas = [Pkg.meta_file ~install:false "pkg/META.in"]

let () =
Pkg.describe ~build:Build.v ~opams "irmin-watcher" @@ fun c ->
Pkg.describe ~build:Build.v ~opams ~metas "irmin-watcher" @@
fun c ->
let fsevents = Conf.value c fsevents in
let inotify = Conf.value c inotify in
Ok [
Pkg.lib ~built:false "pkg/META";
Pkg.mllib "src/irmin-watcher.mllib";
Pkg.mllib "src/irmin-watcher-core.mllib";
Pkg.mllib "src/irmin-watcher-polling.mllib";
Expand Down

0 comments on commit 691cde7

Please sign in to comment.