diff --git a/Makefile b/Makefile index 0ad7c63..24aadca 100644 --- a/Makefile +++ b/Makefile @@ -14,3 +14,12 @@ test: .PHONY: watch watch: modd + +.PHONY: clean +clean: + rm -rf server/craban server/web/static/* + +.PHONY: build +build: clean + cd webapp && npm run build + cd server && go build -v -race ./cmd/craban diff --git a/README.md b/README.md index 271dced..8843cfc 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Default configuration can be found in the - [X] Split server and webapp in different folders - [X] Add modd for easy development forkflow - [ ] Add webapp make targets -- [ ] Add bundle and install make targets +- [X] Add build make target - [X] Create basic webapp structure and development workflow - [X] Think of a better name - [ ] Add email config and communications