dev: expand website templates during build (#1095)
This commit is contained in:
parent
fedbedff4c
commit
e560b3f76e
4
Makefile
4
Makefile
@ -97,3 +97,7 @@ go.mod: FORCE
|
|||||||
go mod tidy
|
go mod tidy
|
||||||
go mod verify
|
go mod verify
|
||||||
go.sum: go.mod
|
go.sum: go.mod
|
||||||
|
|
||||||
|
expand_website_templates:
|
||||||
|
go run ./scripts/expand_website_templates/main.go
|
||||||
|
.PHONY: expand_website_templates
|
@ -32,7 +32,7 @@
|
|||||||
"gatsby-starter"
|
"gatsby-starter"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "gatsby build",
|
"build": "make -C .. expand_website_templates && gatsby build",
|
||||||
"start": "gatsby develop",
|
"start": "gatsby develop",
|
||||||
"serve": "gatsby serve",
|
"serve": "gatsby serve",
|
||||||
"clean": "gatsby clean"
|
"clean": "gatsby clean"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user