(library (name tools)) (rule (target git_hash.ml) (deps git_head.sh) (action (with-stdout-to %{target} (bash "./git_head.sh"))))