This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
(rule
|
||||
(alias foo)
|
||||
(action (echo Hello!)))
|
||||
|
||||
(rule
|
||||
(targets foo.txt)
|
||||
(mode promote-until-clean)
|
||||
(action
|
||||
(with-stdout-to %{targets} (echo "Foo"))))
|
||||
|
||||
(rule
|
||||
(targets @bar)
|
||||
(mode promote-until-clean)
|
||||
(action
|
||||
(with-stdout-to %{targets} (echo "Bar"))))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(lang dune 2.0)
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
$ dune build "(alias foo)"
|
||||
Hello!
|
||||
|
||||
$ dune build foo.txt
|
||||
$ cat foo.txt
|
||||
Foo
|
||||
|
||||
$ dune build "(file @bar)"
|
||||
$ cat @bar
|
||||
Bar
|
||||
|
||||
$ dune build "(source_tree foo)"
|
||||
Error: Don't know how to build "(source_tree foo)"
|
||||
[1]
|
||||
|
||||
$ dune build "(fi"
|
||||
dune: TARGET… arguments: unclosed parenthesis at end of input
|
||||
Usage: dune build [OPTION]… [TARGET]…
|
||||
Try 'dune build --help' or 'dune --help' for more information.
|
||||
[1]
|
||||
|
||||
$ dune build "()"
|
||||
dune: TARGET… arguments: Unexpected list
|
||||
Usage: dune build [OPTION]… [TARGET]…
|
||||
Try 'dune build --help' or 'dune --help' for more information.
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue