mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-09-11 15:26:19 +03:00
Constrained versions of dev tools (ormolu, hlint, stan).
This commit is contained in:
parent
da8d3a1d85
commit
7865110085
1
waspc/.gitignore
vendored
1
waspc/.gitignore
vendored
@ -5,6 +5,7 @@ dist-newstyle
|
||||
.hie/
|
||||
.bin/
|
||||
stan.html
|
||||
module-graph.png
|
||||
|
||||
# editor related
|
||||
*.orig
|
||||
|
@ -3,4 +3,9 @@ with-compiler: ghc-8.10.7
|
||||
packages: .
|
||||
|
||||
-- Speeds up builds by parallelizing them over the number of available CPUs.
|
||||
jobs: $ncpus
|
||||
jobs: $ncpus
|
||||
|
||||
constraints:
|
||||
ormolu ==0.4.0.0,
|
||||
stan ==0.0.1.0,
|
||||
hlint ==3.3.6
|
@ -163,7 +163,7 @@ case $COMMAND in
|
||||
echo_and_eval "rm $PROJECT_ROOT/cabal.project.freeze && cabal freeze"
|
||||
;;
|
||||
module-graph)
|
||||
echo_and_eval "graphmod --quiet --prune-edges $PROJECT_ROOT/src/**/*.hs | dot -Gsize=20,20! -Tpng"
|
||||
echo_and_eval "graphmod --quiet --prune-edges $PROJECT_ROOT/src/**/*.hs | dot -Gsize=20,20! -Tpng -o module-graph.png" && echo "Printed module graph to module-graph.png."
|
||||
;;
|
||||
*)
|
||||
print_usage
|
||||
|
Loading…
Reference in New Issue
Block a user