This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,9 @@
(rule
(target foo)
(action
(system "exit 1")))
(rule
(target bar)
(action
(system "exit 1")))

View file

@ -0,0 +1,25 @@
Here we demonstrate the --stop-on-first-error behaviour.
$ dune build
File "dune", lines 1-4, characters 0-50:
1 | (rule
2 | (target foo)
3 | (action
4 | (system "exit 1")))
Command exited with code 1.
File "dune", lines 6-9, characters 0-50:
6 | (rule
7 | (target bar)
8 | (action
9 | (system "exit 1")))
Command exited with code 1.
[1]
$ dune build --stop-on-first-error
File "dune", lines 6-9, characters 0-50:
6 | (rule
7 | (target bar)
8 | (action
9 | (system "exit 1")))
Command exited with code 1.
[1]