aboutsummaryrefslogtreecommitdiff
path: root/tools/dune
diff options
context:
space:
mode:
authorChimrod <>2023-10-01 19:30:58 +0200
committerChimrod <>2023-10-01 19:30:58 +0200
commitb7964befd039c41c63e00ef323f9eb49061c144c (patch)
treeed2eb4eeaf60cbc2ed560931203fb1a2fcf682ef /tools/dune
parent622bbf897af29ec6f7d533f915b0170d3a9c899f (diff)
Added the git revision in the code
Diffstat (limited to 'tools/dune')
-rw-r--r--tools/dune10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/dune b/tools/dune
new file mode 100644
index 0000000..2e223d4
--- /dev/null
+++ b/tools/dune
@@ -0,0 +1,10 @@
+(library
+ (name tools))
+
+(rule
+ (target git_hash.ml)
+ (deps git_head.sh)
+ (action
+ (with-stdout-to
+ %{target}
+ (bash "./git_head.sh"))))