Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
159
Issues
159
List
Board
Labels
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
3516e3e2
Commit
3516e3e2
authored
Jan 20, 2025
by
Yoelis Acourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add OnlyWarn flags in order to use pTrace during dev
parent
094b511b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
gargantext.cabal
gargantext.cabal
+15
-0
No files found.
gargantext.cabal
View file @
3516e3e2
...
...
@@ -55,6 +55,7 @@ data-files:
test-data/test_config.toml
.clippy.dhall
-- common options
-- https://vrom911.github.io/blog/common-stanzas
common defaults
...
...
@@ -100,6 +101,12 @@ flag no-phylo-debug-logs
default: False
manual: True
Flag OnlyWarn
Description: More permissive rules during dev
Default: False
Manual: True
library
import:
defaults
...
...
@@ -473,7 +480,14 @@ library
Gargantext.Utils.Servant
Gargantext.Utils.UTCTime
Paths_gargantext
-- By default every warning is an error
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
if flag(OnlyWarn)
ghc-options: -Wwarn
hs-source-dirs:
src
if flag(test-crypto)
...
...
@@ -572,6 +586,7 @@ library
, patches-map ^>= 0.1.0.1
, postgresql-simple >= 0.6.4 && <= 0.7.0.0
, process ^>= 1.6.18.0
, pretty-simple
, product-profunctors ^>= 0.11.0.3
, protolude ^>= 0.3.3
, quickcheck-instances ^>= 0.3.25.2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment