chore: Run 'yarn install' when building (#215)

I noticed when showing the development flow to a few engineers, there was one awkward step - you have to `cd site` and run `yarn install`, and then come back to root to `make build` or `./develop.sh`

This just adds `yarn install` as part of `make build` and `./develop.sh` - so whichever one is run first will start work.
This commit is contained in:
Bryan
2022-02-09 13:46:46 -08:00
committed by GitHub
parent c44d0369f6
commit b6fcd8100d
3 changed files with 21 additions and 0 deletions
+1
View File
@@ -74,6 +74,7 @@ provisionersdk/proto: provisionersdk/proto/provisioner.proto
.PHONY: provisionersdk/proto
site/out:
cd site && yarn install
cd site && yarn build
cd site && yarn export
.PHONY: site/out