Spaces:
Runtime error
Runtime error
Greg Wilson commited on
Commit ·
1a93371
1
Parent(s): 9583f97
fix: build on main branch
Browse files
Makefile
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
ROOT := .
|
| 2 |
SITE := _site
|
| 3 |
TMP := ./tmp
|
|
|
|
| 4 |
LESSON_DATA := ${TMP}/lessons.json
|
| 5 |
TEMPLATES := $(wildcard templates/*.html)
|
| 6 |
|
|
@@ -45,7 +46,7 @@ check_exec:
|
|
| 45 |
|
| 46 |
## build: build website
|
| 47 |
build: ${LESSON_DATA} ${TEMPLATES} # ${NOTEBOOK_OUT}
|
| 48 |
-
${PYTHON} bin/build.py --branch
|
| 49 |
|
| 50 |
## links: check links locally (while 'make serve')
|
| 51 |
links:
|
|
|
|
| 1 |
ROOT := .
|
| 2 |
SITE := _site
|
| 3 |
TMP := ./tmp
|
| 4 |
+
BRANCH := main
|
| 5 |
LESSON_DATA := ${TMP}/lessons.json
|
| 6 |
TEMPLATES := $(wildcard templates/*.html)
|
| 7 |
|
|
|
|
| 46 |
|
| 47 |
## build: build website
|
| 48 |
build: ${LESSON_DATA} ${TEMPLATES} # ${NOTEBOOK_OUT}
|
| 49 |
+
${PYTHON} bin/build.py --branch ${BRANCH} --root ${ROOT} --output ${SITE} --data ${LESSON_DATA}
|
| 50 |
|
| 51 |
## links: check links locally (while 'make serve')
|
| 52 |
links:
|