Commit 3c88b256 authored by Yoelis Acourt's avatar Yoelis Acourt

tooling: improve dev flag to add pretty-simple conditionnally

parent 3f8ab4b7
Pipeline #7280 failed with stages
in 61 minutes and 52 seconds
...@@ -102,7 +102,7 @@ flag no-phylo-debug-logs ...@@ -102,7 +102,7 @@ flag no-phylo-debug-logs
manual: True manual: True
Flag OnlyWarn Flag dev
Description: More permissive rules during dev Description: More permissive rules during dev
Default: False Default: False
Manual: True Manual: True
...@@ -485,8 +485,10 @@ library ...@@ -485,8 +485,10 @@ library
ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wmissing-signatures -Wunused-binds -Wunused-imports -Wunused-packages -Werror -freduction-depth=300 -fprint-potential-instances ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wmissing-signatures -Wunused-binds -Wunused-imports -Wunused-packages -Werror -freduction-depth=300 -fprint-potential-instances
-- But in dev warnings are not errors -- But in dev warnings are not errors
if flag(OnlyWarn) if flag(dev)
ghc-options: -Wwarn ghc-options: -Wwarn
build-depends:
pretty-simple
hs-source-dirs: hs-source-dirs:
src src
...@@ -586,7 +588,6 @@ library ...@@ -586,7 +588,6 @@ library
, patches-map ^>= 0.1.0.1 , patches-map ^>= 0.1.0.1
, postgresql-simple >= 0.6.4 && <= 0.7.0.0 , postgresql-simple >= 0.6.4 && <= 0.7.0.0
, process ^>= 1.6.18.0 , process ^>= 1.6.18.0
, pretty-simple
, product-profunctors ^>= 0.11.0.3 , product-profunctors ^>= 0.11.0.3
, protolude ^>= 0.3.3 , protolude ^>= 0.3.3
, quickcheck-instances ^>= 0.3.25.2 , quickcheck-instances ^>= 0.3.25.2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment