Skip to content

Commit

Permalink
use weeder
Browse files Browse the repository at this point in the history
  • Loading branch information
kostmo committed Jul 15, 2024
1 parent 1f1d191 commit e554ab6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/validate/weeder.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@


# First, install Weeder:
# cabal install weeder

cabal clean
cabal build -O0 -j all

weeder -N

10 changes: 10 additions & 0 deletions weeder.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
roots = [
"^Main.main$",
"^Paths_.*",
"^Swarm.App.demoWeb$",
"^Swarm.Doc.Gen.generateDocs$",
"^Swarm.Web.Tournament.webMain$",
]

type-class-roots = true

0 comments on commit e554ab6

Please sign in to comment.