diff --git a/Makefile b/Makefile index 4a567b51..20264b4b 100644 --- a/Makefile +++ b/Makefile @@ -97,3 +97,7 @@ go.mod: FORCE go mod tidy go mod verify go.sum: go.mod + +expand_website_templates: + go run ./scripts/expand_website_templates/main.go +.PHONY: expand_website_templates \ No newline at end of file diff --git a/docs/package.json b/docs/package.json index ff19572d..e04da004 100644 --- a/docs/package.json +++ b/docs/package.json @@ -32,7 +32,7 @@ "gatsby-starter" ], "scripts": { - "build": "gatsby build", + "build": "make -C .. expand_website_templates && gatsby build", "start": "gatsby develop", "serve": "gatsby serve", "clean": "gatsby clean"