Fix a few (action ...) in the doc

Closes #32
This commit is contained in:
Jeremie Dimino 2017-03-22 11:25:57 +00:00
parent 2aa6490a32
commit 57f4203102
1 changed files with 5 additions and 3 deletions

View File

@ -515,8 +515,7 @@ The typical use of the =alias= stanza is to define tests:
#+begin_src scheme
(alias
((name runtest)
(deps (my-test-program.exe))
(action "./${<} blah")))
(action (run ${exe:my-test-program.exe} blah))))
#+end_src
See the [[runtest][section about running tests]] for details.
@ -1195,7 +1194,10 @@ write:
(rule
((targets (META.foo))
(deps (META.foo.from-jbuilder))
(action "{ cat ${<}; echo blah } > ${@}")))
(action (with-stdout-to ${@}
(progn
(cat ${<})
(echo blah))))))
#+end_src
Additionally, Jbuilder provides a simpler mechanism for this scheme: