π Edit page
β Add page
Makefile
Related
Samples
Be sure to use tab indentation.
The help command will include lines starting with text or with empty lines - so ignoring indented lines. Perhaps this could be ignore tabs instead, but then add logic for keeping indent comments if needed.
- Base.
default: install all: install build h help: @grep '^[a-z]' Makefile install: bundle config --local path vendor/bundle bundle install s serve: bundle exec jekyll serve --trace --livereload build: JEKYLL_ENV=production bundle exec jekyll build --trace
- Additions - note
serve
has an extra param so instead of serving on subpath, we serve on root for GitHub Pages βUserβ site or Netlify.upgrade: bundle update s serve: bundle exec jekyll serve --trace --livereload --baseurl '' build-dev: bundle exec jekyll build build-prod: JEKYLL_ENV=production bundle exec jekyll build