mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
;dev:just: ghci, doctest: -fobject-code might reduce some recompilation
This commit is contained in:
parent
8cc36e23a6
commit
d08ec64b7d
4
Justfile
4
Justfile
@ -330,7 +330,7 @@ TESTING:
|
||||
|
||||
# run ghci on hledger-lib + hledger
|
||||
@ghci:
|
||||
$STACKGHCI exec -- $GHCI $BUILDFLAGS hledger/Hledger/Cli.hs
|
||||
$STACKGHCI exec -- $GHCI $BUILDFLAGS -fobject-code hledger/Hledger/Cli.hs
|
||||
|
||||
# run ghci on hledger-lib + hledger with profiling/call stack information
|
||||
@ghci-prof:
|
||||
@ -451,7 +451,7 @@ STACKTEST := STACK + ' test --fast'
|
||||
|
||||
# run the doctests in hledger-lib module/function docs
|
||||
@doctest:
|
||||
($STACKTEST hledger-lib:test:doctest && echo $@ PASSED) || (echo $@ FAILED; false)
|
||||
($STACKTEST --ghc-options=-f-object-code hledger-lib:test:doctest && echo $@ PASSED) || (echo $@ FAILED; false)
|
||||
|
||||
# # run the unit tests in hledger-lib
|
||||
# unittest:
|
||||
|
Loading…
Reference in New Issue
Block a user