summaryrefslogtreecommitdiff
path: root/src/compiler/GF
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2011-04-04 19:52:07 +0000
committerhallgren <hallgren@chalmers.se>2011-04-04 19:52:07 +0000
commit1b08ca8a614874068fc1a21a4acbdf64e205b26b (patch)
tree60ee7af4a5e1cb0d6aff1d457388b57e9cedc155 /src/compiler/GF
parentd1b95cef99c0c7d699987d090fd203e138b18223 (diff)
Add build info to the GF shell welcome message
Diffstat (limited to 'src/compiler/GF')
-rw-r--r--src/compiler/GF/Infra/BuildInfo.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/compiler/GF/Infra/BuildInfo.hs b/src/compiler/GF/Infra/BuildInfo.hs
new file mode 100644
index 000000000..127c7f6f3
--- /dev/null
+++ b/src/compiler/GF/Infra/BuildInfo.hs
@@ -0,0 +1,7 @@
+module GF.Infra.BuildInfo where
+import System.Info
+import Data.Version(showVersion)
+
+buildInfo =
+ "Built on "++os++"/"++arch
+ ++" with "++compilerName++"-"++showVersion compilerVersion \ No newline at end of file