mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
;tools: just installas*
This commit is contained in:
parent
be1d98ef75
commit
0fedc35a95
16
Justfile
16
Justfile
@ -541,13 +541,23 @@ INSTALLING:
|
||||
# @copy-as VER:
|
||||
# cp ~/.local/bin/hledger bin/old/hledger-{{ VER }}; echo "bin/hledger-{{ VER }}"
|
||||
|
||||
# install the hledger executables to bin/old/hledger*-VER
|
||||
# install hledger as bin/old/hledger-VER
|
||||
@installas VER:
|
||||
$STACK install --local-bin-path bin/old hledger
|
||||
for e in hledger ; do mv bin/old/$e bin/old/$e-{{ VER }}; echo "bin/old/$e-{{ VER }}"; done
|
||||
|
||||
# install all hledger executables as bin/old/hledger*-VER
|
||||
@installallas VER:
|
||||
$STACK install --local-bin-path bin/old
|
||||
for e in hledger hledger-ui hledger-web ; do mv bin/old/$e bin/old/$e-{{ VER }}; echo "bin/old/$e-{{ VER }}"; done
|
||||
|
||||
# install the hledger executables with ghc-debug support to bin/hledger*-dbg
|
||||
@installdbg *STACKARGS:
|
||||
# install hledger with ghc-debug support as bin/hledger*-dbg
|
||||
@installasdbg *STACKARGS:
|
||||
$STACK install --local-bin-path bin --flag '*:ghcdebug' {{ STACKARGS }} hledger
|
||||
for e in hledger ; do mv bin/$e bin/$e-dbg; echo "bin/$e-dbg"; done
|
||||
|
||||
# install all hledger executables with ghc-debug support as bin/hledger*-dbg
|
||||
@installallasdbg *STACKARGS:
|
||||
$STACK install --local-bin-path bin --flag '*:ghcdebug' {{ STACKARGS }}
|
||||
for e in hledger hledger-ui hledger-web ; do mv bin/$e bin/$e-dbg; echo "bin/$e-dbg"; done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user