dune 153 B

12345678910
  1. (library
  2. (name tools))
  3. (rule
  4. (target git_hash.ml)
  5. (deps git_head.sh (universe))
  6. (action
  7. (with-stdout-to
  8. %{target}
  9. (bash "./git_head.sh"))))