mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-16 00:37:33 +03:00
;tools: make stack fixes
This commit is contained in:
parent
0e5ae2baac
commit
8d31f21502
4
Makefile
4
Makefile
@ -409,7 +409,7 @@ ghci-doctest: $(call def-help,ghci-doctest, start ghci REPL on hledger-lib docte
|
||||
cd hledger-lib; $(STACKGHCI) ghci hledger-lib:test:doctest
|
||||
|
||||
ghci-shake: $(call def-help,ghci-shake, start ghci REPL on Shake.hs)
|
||||
stack exec $(SHAKEDEPS) -- ghci Shake.hs
|
||||
$(STACK) exec $(SHAKEDEPS) -- ghci Shake.hs
|
||||
|
||||
copy-exe-%: $(call def-help,copy-exe-FOO, copy ~/.local/bin/hledger to hledger-FOO)
|
||||
cp ~/.local/bin/hledger{,-$*}
|
||||
@ -418,7 +418,7 @@ copy-exes-%: $(call def-help,copy-exes-FOO, copy ~/.local/bin/hledger* to hledge
|
||||
for EXE in $(BINARIES); do cp ~/.local/bin/$$EXE{,-$*}; done
|
||||
|
||||
install-as-%: $(call def-help,install-as-FOO, like stack install but save executables as bin/hledger*-FOO)
|
||||
@stack install --local-bin-path bin
|
||||
@$(STACK) install --local-bin-path bin
|
||||
@printf "\nMoved executables to:\n"
|
||||
@for EXE in $(BINARIES); do mv bin/$$EXE bin/$$EXE-$*; echo "- bin/$$EXE-$*"; done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user