Skip to content

Commit

Permalink
Use jbuilder alternative-deps for backend impl
Browse files Browse the repository at this point in the history
  • Loading branch information
actionshrimp committed Apr 16, 2018
1 parent d7459c6 commit 7e10da3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 22 deletions.
17 changes: 0 additions & 17 deletions configure

This file was deleted.

5 changes: 1 addition & 4 deletions livereload.opam
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ homepage: ""
bug-reports: ""
license: ""
dev-repo: ""
build: [
["./configure"]
["jbuilder" "build" "-p" name "-j" jobs]
]
build: [["jbuilder" "build" "-p" name "-j" jobs]]
depends: [
"jbuilder" {build}
"containers"
Expand Down
6 changes: 5 additions & 1 deletion src/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
(public_name livereload)
(preprocess (pps (ppx_blob)))
(preprocessor_deps ((file ../static/livereload.js)))
(libraries (containers websocket-lwt.cohttp lwt inotify.lwt))))
(libraries (containers websocket-lwt.cohttp lwt
(select backend.ml from
(inotify.lwt -> backend_linux.ml)
(osx-fsevents -> backend_osx.ml))))))

0 comments on commit 7e10da3

Please sign in to comment.