diff --git a/gluafixer.cabal b/gluafixer.cabal index dfabcd2..1cf1cff 100644 --- a/gluafixer.cabal +++ b/gluafixer.cabal @@ -27,3 +27,14 @@ executable gluafixer else ghc-options: -O3 default-language: Haskell2010 + +-- The windows program really shows nothing in console with that -optl-mwindows option. +-- Se we'll be equally stubborn and create a separate executable without that option +executable gluafixer-console + main-is: GLuaFixer/Main.hs + other-modules: GLua.AG.AST, GLua.AG.PrettyPrint, GLuaFixer.AG.DarkRPRewrite + other-extensions: FlexibleInstances, TypeSynonymInstances, MultiParamTypeClasses, Rank2Types, FlexibleContexts, NoMonomorphismRestriction, CPP + build-depends: base, filepath >=1.3, uu-parsinglib >=2.8, ListLike >=4.1, uuagc >= 0.9.40.3, uuagc-cabal >= 1.0.3.0, pretty, gtk + hs-source-dirs: src + ghc-options: -O3 + default-language: Haskell2010