Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add weeder #6779

Merged
merged 1 commit into from
May 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ validate-via-docker-8.10.1:
validate-via-docker-old:
docker build -t cabal-validate -f .docker/validate-old.dockerfile .

# Weeder
weeder :
cabal build all --project-file=cabal.project.weeder
weeder | less

# tags
.PHONY : tags
tags :
Expand Down
14 changes: 14 additions & 0 deletions cabal.project.weeder
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-- project file for weeder. Only Cabal and cabal install
-- install weeder with
--
-- cabal install -w ghc-8.8.3 weeder
--

packages: Cabal/
packages: cabal-install/
tests: False

with-compiler: ghc-8.8.3

package *
ghc-options: -fwrite-ide-info
1 change: 1 addition & 0 deletions weeder.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ roots = [ "^Main.main$" ], type-class-roots = True }