dune 256 B

12345678910111213141516171819
  1. (library
  2. (name Lib)
  3. (libraries
  4. lambdasoup
  5. re
  6. timedesc
  7. )
  8. )
  9. ;(rule
  10. ; (target version.ml)
  11. ; (action
  12. ; (with-stdout-to %{target}
  13. ; (echo "let git_sha = \"foo")
  14. ; (run git rev-parse --short HEAD)
  15. ; (echo "bar\"")
  16. ; ))
  17. ; )