From 5a641ebe730662c5c439521a1caddcc8a3125399 Mon Sep 17 00:00:00 2001 From: hallgren Date: Thu, 16 Oct 2014 15:21:00 +0000 Subject: Rename src/programs/gf.hs to gf-main.hs to avoid confusing GHC It appears that GHC can't keep GF.hs and gf.hs apart on systems with case insensitive file names. --- gf.cabal | 2 +- src/programs/gf-main.hs | 3 +++ src/programs/gf.hs | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 src/programs/gf-main.hs delete mode 100644 src/programs/gf.hs diff --git a/gf.cabal b/gf.cabal index cc0c53a5a..ee12a2f00 100644 --- a/gf.cabal +++ b/gf.cabal @@ -294,7 +294,7 @@ Library Executable gf hs-source-dirs: src/programs - main-is: gf.hs + main-is: gf-main.hs default-language: Haskell2010 build-depends: gf, base ghc-options: -threaded -fwarn-unused-imports diff --git a/src/programs/gf-main.hs b/src/programs/gf-main.hs new file mode 100644 index 000000000..1dae54bc7 --- /dev/null +++ b/src/programs/gf-main.hs @@ -0,0 +1,3 @@ +import qualified GF + +main = GF.main diff --git a/src/programs/gf.hs b/src/programs/gf.hs deleted file mode 100644 index 1dae54bc7..000000000 --- a/src/programs/gf.hs +++ /dev/null @@ -1,3 +0,0 @@ -import qualified GF - -main = GF.main -- cgit v1.2.3