;tools: just: add ghci-echo, ghcitui
This commit is contained in:
parent
1078c176bf
commit
4b1b97a6aa
8
Justfile
8
Justfile
@ -347,11 +347,19 @@ TESTING:
|
||||
@ghci *GHCIARGS:
|
||||
$STACKGHCI exec -- $GHCI $BUILDFLAGS {{ GHCIARGS }} hledger/Hledger/Cli.hs
|
||||
|
||||
# echo the full command that just ghci would run
|
||||
@ghci-echo *GHCIARGS:
|
||||
echo $STACKGHCI exec -- $GHCI $BUILDFLAGS {{ GHCIARGS }} hledger/Hledger/Cli.hs
|
||||
|
||||
# run ghci on hledger-lib + hledger with profiling/call stack information
|
||||
@ghci-prof *GHCIARGS:
|
||||
stack build --profile hledger --only-dependencies
|
||||
$STACKGHCI exec -- $GHCI $BUILDFLAGS -fexternal-interpreter -prof -fprof-auto {{ GHCIARGS }} hledger/Hledger/Cli.hs
|
||||
|
||||
# run ghcitui on hledger-lib + hledger
|
||||
@ghcitui *GHCITUIARGS:
|
||||
ghcitui --cmd "just ghci"
|
||||
|
||||
# # run ghci on hledger-lib + hledger + dev.hs script
|
||||
# @ghci-dev:
|
||||
# $STACKGHCI exec -- $GHCI $BUILDFLAGS -fno-warn-unused-imports -fno-warn-unused-binds dev.hs
|
||||
|
||||
Loading…
Reference in New Issue
Block a user