mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 03:42:25 +03:00
;just: find GNU tar more portably
This commit is contained in:
parent
04bbcc076d
commit
b5cdc295b4
2
Justfile
2
Justfile
@ -532,7 +532,7 @@ samplejournals:
|
||||
tools/generatejournal.hs 100000 1000 10 > examples/100000x1000x10.journal
|
||||
tools/generatejournal.hs 1000000 1000 10 > examples/1000000x1000x10.journal
|
||||
|
||||
GNUTAR := 'gtar'
|
||||
GNUTAR := `which gtar >/dev/null && echo gtar || echo tar`
|
||||
|
||||
# The current OS name, in the form used for hledger release binaries: linux, mac, windows or other.
|
||||
OS := `ghc -e 'import System.Info' -e 'putStrLn $ case os of "darwin"->"mac"; "mingw32"->"windows"; "linux"->"linux"; _->"other"'`
|
||||
|
Loading…
Reference in New Issue
Block a user