Skip to content

Commit

Permalink
Make default make target help:1: command not found: --help to be expl…
Browse files Browse the repository at this point in the history
…icit
  • Loading branch information
jemus42 committed Nov 19, 2024
1 parent 06defab commit 524d588
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@ STATUSMD=${STATUSRMD_PR:%.Rmd=%.md}
FILECOUNTQMD=file_counts.qmd
FILECOUNTHTML=${FILECOUNTQMD:%.qmd=%.html}

.PHONY: all
all: help

# This runs latexmk internally, but it's fast if there's nothing new to do for most slides (unless you clean up)
${CACHETBL}: $(TSLIDES) $(PREAMBLES)
@# Rscript --quiet -e 'source("helpers.R"); check_all_slides()'
Rscript --quiet -e 'lese::check_all_slides()'

.PHONY: all
all: help

.PHONY: help
help:
Expand Down
2 changes: 1 addition & 1 deletion service/.github/workflows/render-lecture-slide-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
# Run the main thing: compiles slides, checks against slides-pdf/*, renderes Rmd -> html site with results
# Resulting output is in ./_site
- name: Check slides and build HTML overview
run: make
run: make site

# Deploy using this rather than JamesIves/github-pages-deploy-action, as this supports pushing
# orphan branches. Since we're adding a bunch of PDFs, we really want to avoid a bloated branch history
Expand Down

0 comments on commit 524d588

Please sign in to comment.