feat: migrate to cabal build and cabal run
This commit is contained in:
parent
58b110833a
commit
b0bf75382b
11
justfile
11
justfile
|
@ -1,3 +1,4 @@
|
||||||
|
# List available recipes
|
||||||
default:
|
default:
|
||||||
@just --list
|
@just --list
|
||||||
|
|
||||||
|
@ -10,6 +11,10 @@ docs:
|
||||||
repl *ARGS:
|
repl *ARGS:
|
||||||
cabal repl {{ ARGS }}
|
cabal repl {{ ARGS }}
|
||||||
|
|
||||||
# Run ghcid -- auto-recompile and run `main` function
|
# Run cabal build
|
||||||
run:
|
build *ARGS:
|
||||||
ghcid -T :main
|
cabal build {{ ARGS }}
|
||||||
|
|
||||||
|
# Run cabal run
|
||||||
|
run *ARGS:
|
||||||
|
cabal run {{ ARGS }}
|
||||||
|
|
Loading…
Reference in a new issue