1
1
mirror of https://github.com/github/semantic.git synced 2024-11-27 12:57:49 +03:00

Comment the .ghci file

This commit is contained in:
Rob Rix 2019-10-30 15:44:03 -04:00
parent e58bb8825f
commit f9bbcb3b64
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

14
.ghci
View File

@ -1,13 +1,21 @@
:set -j -v1 -fwrite-interface -fobject-code
-- Basic verbosity & compiler parallelization
:set -j -v1
-- Compile to object code
:set -fwrite-interface -fobject-code
:set -O0
-- Write build products to dist-repl
:set -outputdir dist-repl/build/x86_64-osx/ghc-8.6.5/semantic-0.8.0.0/build
:set -odir dist-repl/build/x86_64-osx/ghc-8.6.5/semantic-0.8.0.0/build
:set -hidir dist-repl/build/x86_64-osx/ghc-8.6.5/semantic-0.8.0.0/build
:set -stubdir dist-repl/build/x86_64-osx/ghc-8.6.5/semantic-0.8.0.0/build
-- Look for autogend files in dist-repl
:set -idist-repl/build/x86_64-osx/ghc-8.6.5/semantic-0.8.0.0/build/autogen
-- Load all our sources… remember to keep this up to date when we add new packages!
-- But dont add semantic-source, its important that we get that from hackage.
:set -isemantic-analysis/src
:set -isemantic-ast/src
:set -isemantic-core/src
@ -19,9 +27,11 @@
:set -ibench
:set -itest
-- Default language mode & extensions
:set -XHaskell2010
:set -XStrictData
-- Warnings for compiling .hs files
:set -Weverything
:set -Wno-all-missed-specialisations
:set -Wno-implicit-prelude
@ -33,8 +43,10 @@
:set -Wno-safe
:set -Wno-unsafe
:set -Wno-star-is-type
-- Bonus: silence “add these modules to your .cabal file” warnings for files we :load
:set -Wno-missing-home-modules
-- Warnings for code written in the repl
:seti -Weverything
:seti -Wno-all-missed-specialisations
:seti -Wno-implicit-prelude