Cleanup Makefile, add Caddy
This commit is contained in:
parent
9b5b09011e
commit
e2330a15c4
1 changed files with 8 additions and 12 deletions
20
Makefile
20
Makefile
|
@ -1,4 +1,4 @@
|
|||
.PHONY: run test build frontend backend
|
||||
.PHONY: run run-backend run-frontend test
|
||||
|
||||
run:
|
||||
# See backend/config.py for more fields
|
||||
|
@ -6,15 +6,11 @@ run:
|
|||
COOKIES_DIR=cookies \
|
||||
python3 ./backend/main.py
|
||||
|
||||
run-backend: run
|
||||
|
||||
run-frontend:
|
||||
@echo 'Only for development environment!'
|
||||
caddy run
|
||||
|
||||
test:
|
||||
@python3 -m unittest discover -vcs ./backend
|
||||
|
||||
build:
|
||||
make frontend
|
||||
make backend
|
||||
|
||||
frontend:
|
||||
@cd frontend && echo 'Not implemented'
|
||||
|
||||
backend:
|
||||
@cd backend && echo 'Not implemented'
|
||||
python3 -m unittest discover -vcs ./backend
|
||||
|
|
Loading…
Add table
Reference in a new issue