Skip to content

Commit 46b0c9b

Browse files
committed
;just: format
1 parent bf7b008 commit 46b0c9b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Justfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# (highlight-lines-matching-regexp "^@?\\w.*\\w:$" 'hi-pink) ; recipe headings (misses recipes with dependencies)
2323
# ))
2424
#
25-
# This file is formatted by `just _fmt`, which currently eats blank lines a bit (and commits).
25+
# This file is formatted by `just format`, which currently eats blank lines a bit (and commits).
2626
#
2727
# 'set export' makes constants and arguments available as $VAR as well as {{ VAR }}.
2828
# $ makes just code more like shell code.
@@ -87,13 +87,14 @@ _watchgitdbg *WOPTS:
8787
BROWSE := 'open'
8888

8989
# XXX These often don't work well interpolated as $CMD or {{ CMD }}, not sure why
90-
9190
# find GNU tools, eg on mac
91+
9292
GDATE := `type -P gdate || echo date`
93-
GTAR := `type -P gtar || echo tar`
94-
#GNUTAR := `which gtar >/dev/null && echo gtar || echo tar`
93+
GTAR := `type -P gtar || echo tar`
9594

95+
#GNUTAR := `which gtar >/dev/null && echo gtar || echo tar`
9696
# make ghc usable for scripting with -e
97+
9798
GHC := 'ghc -ignore-dot-ghci -package-env -'
9899
GHCI := 'ghci'
99100

@@ -204,8 +205,8 @@ DOCSOURCEFILES := '
204205
CONTRIBUTING.md
205206
' + MANUALSOURCEFILES + COMMANDHELPFILES
206207
TESTFILES := `fd '\.test$' --exclude ledger-compat`
207-
# XXX it's fd-find on gnu/linux ?
208208

209+
# XXX it's fd-find on gnu/linux ?
209210
# # file(s) which require recompilation for a build to have an up-to-date version string
210211
# VERSIONSOURCEFILE := 'hledger/Hledger/Cli/Version.hs'
211212
# Two or three-part version string, set as program version in builds made by this makefile.
@@ -542,6 +543,7 @@ get-binaries:
542543
just symlink-binaries
543544

544545
# download hledger version VER for OS (linux, mac windows) and ARCH (x64) from github releases to bin/hledger-VER
546+
545547
# On gnu/linux: can't interpolate GTAR here for some reason, and need the shebang line.
546548
get-binary OS ARCH VER:
547549
#!/usr/bin/env bash
@@ -622,6 +624,7 @@ samplejournals:
622624

623625
# The current OS name, in the form used for hledger release binaries: linux, mac, windows or other.
624626
# can't use $GHC or {{GHC}} here for some reason
627+
625628
OS := `ghc -ignore-dot-ghci -package-env - -e 'import System.Info' -e 'putStrLn $ case os of "darwin"->"mac"; "mingw32"->"windows"; "linux"->"linux"; _->"other"'`
626629

627630
# tools/generatejournal.hs 3 5 5 --chinese > examples/chinese.journal # don't regenerate, keep the simple version
@@ -664,10 +667,8 @@ OS := `ghc -ignore-dot-ghci -package-env - -e 'import System.Info' -e 'putStrLn
664667
# @bench-balance-many-accts:
665668
# quickbench -w hledger-1.26,hledger-21ad,ledger -f bench-many-accts.sh -N2
666669
# #quickbench -w hledger-1.25,hledger-1.28,hledger-1.29,hledger-1.30,hledger-1.31,hledger-1.32,hledger-21ad,ledger -f bench-many-accts.sh -N2
667-
668670
# @bench-balance-many-txns:
669671
# quickbench -w hledger-21ad,ledger -f bench-many-txns.sh -N2
670-
671672
# samplejournals bench.sh
672673
# bench: samplejournals tests/bench.tests tools/simplebench \
673674
# $(call def-help,bench,\
@@ -687,7 +688,6 @@ OS := `ghc -ignore-dot-ghci -package-env - -e 'import System.Info' -e 'putStrLn
687688
# run progression benchmark tests and save graphical results\
688689
# )
689690
# tools/progressionbench -- -t png -k png
690-
691691
# # prof: samplejournals \
692692
# # $(call def-help,prof,\
693693
# # generate and archive an execution profile\

0 commit comments

Comments
 (0)