diff --git a/Justfile b/Justfile index 18bba4213..7730c496b 100644 --- a/Justfile +++ b/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