forked from GitHub/gf-core
Added NOINLINE pragma to Today.hs, to avoid forcing recompilation of modules that depend on GF.Today.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user