Skip to content
Permalink
Browse files

Use variable for deps.

  • Loading branch information...
gildor478 committed Oct 2, 2019
1 parent 0dcf269 commit 346628bc7032083d12c2aad51e500af7a46f0515
Showing with 8 additions and 11 deletions.
  1. +2 −2 src/lib/ounit2/advanced/dune
  2. +6 −9 test/dune
@@ -1,7 +1,7 @@
(rule
(target oUnitLoggerHTMLData.ml)
(deps ../../../tools/data_gen/data_gen.exe oUnit.css oUnit.js)
(action (run ../../../tools/data_gen/data_gen.exe)))
(deps (:data_gen ../../../tools/data_gen/data_gen.exe) oUnit.css oUnit.js)
(action (run %{data_gen})))

(library
(name oUnitAdvanced)
@@ -4,14 +4,11 @@
(package ounit2)
(deps
test.exe
fakeHTML/fakeHTML.exe
fakeRunner/fakeRunner.exe
fakeShared/fakeShared.exe
fakeBadFinaliser/fakeBadFinaliser.exe
(:fakeHTML fakeHTML/fakeHTML.exe)
(:fakeRunner fakeRunner/fakeRunner.exe)
(:fakeShared fakeShared/fakeShared.exe)
(:fakeBadFinaliser fakeBadFinaliser/fakeBadFinaliser.exe)
JUnit.xsd)
(action
(run %{test}
-fakeHTML ./fakeHTML/fakeHTML.exe
-fakeRunner ./fakeRunner/fakeRunner.exe
-fakeShared ./fakeShared/fakeShared.exe
-fakeBadFinaliser ./fakeBadFinaliser/fakeBadFinaliser.exe)))
(run %{test} -fakeHTML %{fakeHTML} -fakeRunner %{fakeRunner}
-fakeShared %{fakeShared} -fakeBadFinaliser %{fakeBadFinaliser})))

0 comments on commit 346628b

Please sign in to comment.
You can’t perform that action at this time.