[sledge] Run executables from dune install dir

Summary: instead of hard-coding paths into the build dirs.

Reviewed By: mbouaziz

Differential Revision: D10389472

fbshipit-source-id: 1c90b3c9c
master
Josh Berdine 6 years ago committed by Facebook Github Bot
parent a9cdf69010
commit d5a83894b0

@ -20,7 +20,7 @@ setup: dunes
.PHONY: exes .PHONY: exes
exes: setup exes: setup
dune build _build/dev/src/sledge.exe _build/release/src/sledge.exe dune build _build/dev/src/sledge.exe _build/release/src/sledge.exe _build/dev/sledge.install _build/release/sledge.install
.PHONY: watch .PHONY: watch
watch: setup watch: setup

@ -1 +1 @@
../_build/dev/src/sledge.exe ../_build/install/dev/bin/sledge

@ -1 +1 @@
../_build/release/src/sledge.exe ../_build/install/release/bin/sledge

@ -1,2 +1,2 @@
(lang dune 1.0) (lang dune 1.1)
(using fmt 1.0) (using fmt 1.0)

@ -13,7 +13,8 @@ Jbuild_plugin.V1.send
(mode promote-until-clean)) (mode promote-until-clean))
(executable (executable
(name sledge) (public_name sledge)
(package sledge)
%s %s
(libraries cmdliner %s)) (libraries cmdliner %s))
|} |}

Loading…
Cancel
Save