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