☕️ Classic, reliable, trusted test framework for Node.js and the browser
Adds TOC to makefile.
Joshua Appelman0d934d68b33d
diff --git a/Makefile b/Makefileindex 9d3d37e7..77e0c976 100644--- a/Makefile+++ b/Makefile@@ -1,11 +1,15 @@PORT ?= 3000bundle := bundle-start: bundle+start: toc bundle${bundle} exec jekyll serve --safe --drafts --watch --port ${PORT}-build: bundle++build: toc bundle${bundle} exec jekyll build --safe+toc:+ ./node_modules/.bin/toc-idx -i index.md --max-depth 1 --bullet "\- " index.md+bundle:${bundle}diff --git a/package.json b/package.jsonindex 30fb54f1..7eaaef80 100644--- a/package.json+++ b/package.json@@ -5,7 +5,7 @@"private": true,"scripts": {"prepublish": "gem install bundler && bundle install",- "build": "toc-idx -i index.md --max-depth 1 --bullet \"\\- \" index.md && bundle exec jekyll build"+ "build": "make build"},"repository": {"type": "git",