diff --git a/scripts/validate/weeder.sh b/scripts/validate/weeder.sh new file mode 100755 index 000000000..ed811b6e5 --- /dev/null +++ b/scripts/validate/weeder.sh @@ -0,0 +1,10 @@ + + +# First, install Weeder: +# cabal install weeder + +cabal clean +cabal build -O0 -j all + +weeder -N + diff --git a/weeder.toml b/weeder.toml new file mode 100644 index 000000000..3c2ca577c --- /dev/null +++ b/weeder.toml @@ -0,0 +1,10 @@ +roots = [ + "^Main.main$", + "^Paths_.*", + "^Swarm.App.demoWeb$", + "^Swarm.Doc.Gen.generateDocs$", + "^Swarm.Web.Tournament.webMain$", + ] + +type-class-roots = true +