mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
Factor out code for setting the console encoding
Moved similar low-level code blocks in Main and GFI for setting the console encoding to the new module GF.System.Console.
This commit is contained in:
4
gf.cabal
4
gf.cabal
@@ -54,7 +54,6 @@ library
|
||||
random,
|
||||
pretty,
|
||||
mtl
|
||||
--ghc-options: -O2
|
||||
hs-source-dirs: src/compiler src/runtime/haskell
|
||||
extensions:
|
||||
exposed-modules:
|
||||
@@ -127,7 +126,6 @@ executable gf
|
||||
|
||||
ghc-prof-options: -auto-all
|
||||
|
||||
--ghc-options: -O2
|
||||
if impl(ghc>=7.0)
|
||||
ghc-options: -rtsopts
|
||||
hs-source-dirs: src/compiler src/runtime/haskell
|
||||
@@ -148,6 +146,8 @@ executable gf
|
||||
GF.Infra.Option
|
||||
GF.Infra.UseIO
|
||||
GF.Infra.CheckM
|
||||
GF.System.Signal
|
||||
GF.System.Console
|
||||
GF.Command.Commands
|
||||
GF.Command.Interpreter
|
||||
GF.Command.Abstract
|
||||
|
||||
Reference in New Issue
Block a user