Skip to content

Commit a59df34

Browse files
committed
;just: cleanup
1 parent 46b0c9b commit a59df34

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Justfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env just
2-
# * Project scripts, using https://github.com/casey/just (last tested with 1.16.0)
2+
# * Project scripts, using https://github.com/casey/just (last tested with 1.24.0)
33
# Usage: alias j=just, run j to list available scripts.
44
#
55
# After many years with make and plain shell and haskell for
@@ -758,12 +758,6 @@ DOCUMENTING:
758758
# see also Shake.hs
759759
# http://www.haskell.org/haddock/doc/html/invoking.html
760760

761-
# optimise and commit RELEASING value map diagram
762-
@releasediag:
763-
pngquant doc/HledgerReleaseValueMap.png -f -o doc/HledgerReleaseValueMap.png
764-
git add doc/HledgerReleaseValueMap.png
765-
git commit -m ';doc: RELEASING: update value map' -- doc/HledgerReleaseValueMap.png
766-
767761
STACKHADDOCK := 'time ' + STACK + ' --verbosity=error haddock --fast --no-keep-going \
768762
--only-locals --no-haddock-deps --no-haddock-hyperlink-source \
769763
--haddock-arguments="--no-warnings" \
@@ -845,6 +839,12 @@ haddock-open:
845839
# @(printf "\nbrowser will open in $(BROWSEDELAY)s (adjust BROWSE in Makefile if needed)...\n\n"; sleep $(BROWSEDELAY); $(BROWSE) $(LOCALSITEURL)) &
846840
# @$(WATCHEXEC) --print-events -e md,m4 -i hledger.md -i hledger-ui.md -i hledger-web.md -r './Shake webmanuals && ./Shake orgfiles && make -sC site serve'
847841

842+
# optimise and commit RELEASING value map diagram
843+
@releasediag:
844+
pngquant doc/HledgerReleaseValueMap.png -f -o doc/HledgerReleaseValueMap.png
845+
git add doc/HledgerReleaseValueMap.png
846+
git commit -m ';doc: RELEASING: update value map' -- doc/HledgerReleaseValueMap.png
847+
848848
# Convert DATEARG to an ISO date. It can be an ISO date, number of recent days, or nothing (meaning last release date).
849849
@_datearg *DATEARG:
850850
echo {{ if DATEARG == '' { `just reldate` } else { if DATEARG =~ '^\d+$' { `dateadd $(date +%Y-%m-%d) -$DATEARG` } else { DATEARG } } }}

0 commit comments

Comments
 (0)