mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-12 22:39:31 -06:00
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