summaryrefslogtreecommitdiff
path: root/src/tools/mktoday.sh
blob: 1865fd4d1d4eea5632f5e9851b7e0f656e41324a (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

echo 'module GF.Today (today,version) where' > GF/Today.hs
echo '{-# NOINLINE today #-}' >> GF/Today.hs
echo 'today,version :: String' >> GF/Today.hs
echo 'today = "'`date`'"' >> GF/Today.hs
echo 'version = "'$1'"' >> GF/Today.hs