hexresearch / hschain

Other
4 stars 0 forks source link

Added weeder.dhall files #634

Closed drchaos closed 4 years ago

drchaos commented 4 years ago

weeder tool hangs up when you run it from the project root. So, It becomes a bit tricky to pick up weeds. I've added weeder.dhall config files to every (almost) project. To run weeder you should

  1. remove cabal.project from the project root
  2. go to the project you need, hschain-examples for instance
  3. create here cabal.project (you could copy it from the root and fix paths)
  4. create cabal.project.local like specified here
  5. run weeder ... PROFIT!

Note: weeder.dhall file in the hschain project or any other contains copies of all weeder.dhall files of dependent projects.

Shimuuar commented 4 years ago

So much boilerplate... I wonder whether it's possible to do better.