mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
;tools: make site(-watch): add orgfiles
This commit is contained in:
parent
dff61ccbd9
commit
5b437ea20d
3
Makefile
3
Makefile
@ -824,6 +824,7 @@ site: $(call def-help,site, update the hledger.org website (run on hledger.org,
|
||||
|| ( \
|
||||
echo; \
|
||||
./Shake -V webmanuals; \
|
||||
./Shake -V orgfiles; \
|
||||
make -C site build; \
|
||||
) 2>&1 | tee -a site.log
|
||||
# once VPS can build Shake again, replace the Shake/make lines with
|
||||
@ -835,7 +836,7 @@ LOCALSITEURL=http://localhost:3000/dev/hledger.html
|
||||
site-watch: $(call def-help,site-watch, open a browser on the website (in ./site) and rerender when docs or web pages change )
|
||||
@make -s Shake
|
||||
@(printf "\nbrowser will open in $(BROWSEDELAY)s (adjust BROWSE in Makefile if needed)...\n\n"; sleep $(BROWSEDELAY); $(BROWSE) $(LOCALSITEURL)) &
|
||||
@ls $(DOCSOURCEFILES) | entr -r bash -c './Shake webmanuals && make -sC site serve'
|
||||
@ls $(DOCSOURCEFILES) | entr -r bash -c './Shake webmanuals && ./Shake orgfiles && make -sC site serve'
|
||||
|
||||
###############################################################################
|
||||
$(call def-help-subheading,RELEASING:)
|
||||
|
Loading…
Reference in New Issue
Block a user