Skip to content
Snippets Groups Projects
Commit b3918fd7 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

config refactoring

parent 42432738
No related branches found
No related tags found
1 merge request!1Simplistic implementation of download
...@@ -58,11 +58,20 @@ extra-doc-files: CHANGELOG.md ...@@ -58,11 +58,20 @@ extra-doc-files: CHANGELOG.md
-- extra-source-files: -- extra-source-files:
common warnings common warnings
ghc-options: -Wall ghc-options: -Wall -Werror
common language
-- LANGUAGE extensions used by modules in all targets.
default-extensions:
NamedFieldPuns
OverloadedStrings
RecordWildCards
library library
-- Import common warning flags. -- Import common warning flags.
import: warnings import:
warnings
, language
-- Modules exported by the library. -- Modules exported by the library.
exposed-modules: Tahoe.Download exposed-modules: Tahoe.Download
...@@ -90,7 +99,9 @@ library ...@@ -90,7 +99,9 @@ library
executable gbs-downloader executable gbs-downloader
-- Import common warning flags. -- Import common warning flags.
import: warnings import:
warnings
, language
-- .hs or .lhs file containing the Main module. -- .hs or .lhs file containing the Main module.
main-is: Main.hs main-is: Main.hs
...@@ -114,27 +125,24 @@ executable gbs-downloader ...@@ -114,27 +125,24 @@ executable gbs-downloader
test-suite gbs-downloader-test test-suite gbs-downloader-test
-- Import common warning flags. -- Import common warning flags.
import: warnings import:
warnings
, language
-- Base language which the package is written in. -- Base language which the package is written in.
default-language: Haskell2010 default-language: Haskell2010
-- Modules included in this executable, other than Main. -- Modules included in this executable, other than Main.
-- other-modules: -- other-modules:
-- LANGUAGE extensions used by modules in this package.
default-extensions:
OverloadedStrings
RecordWildCards
-- The interface type and version of the test suite. -- The interface type and version of the test suite.
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
-- Directories containing source files. -- Directories containing source files.
hs-source-dirs: test hs-source-dirs: test
-- The entrypoint to the test suite. -- The entrypoint to the test suite.
main-is: Spec.hs main-is: Spec.hs
-- Test dependencies. -- Test dependencies.
build-depends: build-depends:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment