blob: 2d272755a9061e66bca838cb5b2f39b97e4f86b8 (
plain)
1
2
3
4
5
6
|
#! /bin/sh
# Include the git hash in an OCaml file.
revision=$(git describe --tags --always --dirty)
compile_date=$(date +%Y/%m/%d)
echo "let revision = \"${revision} - compiled on ${compile_date}\""
|