diff options
| -rw-r--r-- | Makefile | 16 | ||||
| -rw-r--r-- | justfile | 17 |
2 files changed, 17 insertions, 16 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 9f5d67b..0000000 --- a/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -serve: build - FEEDAKA_BASE_PATH="" FEEDAKA_PORT=8080 ./backend/feedaka - -build: - cd frontend && npm run check - cd frontend && npm run build - cd backend && just build - -fmt: - cd frontend && npm run fmt - cd backend && just fmt - -docker-build: fmt - docker build -t feedaka . - -.PHONY: build fmt serve docker-build diff --git a/justfile b/justfile new file mode 100644 index 0000000..8b562e3 --- /dev/null +++ b/justfile @@ -0,0 +1,17 @@ +serve: build + FEEDAKA_BASE_PATH="" FEEDAKA_PORT=8080 ./backend/feedaka + +build: + cd frontend && npm run build + cd backend && just build + +fmt: + cd frontend && npm run fix + cd backend && just fmt + +check: + cd frontend && npm run check + cd backend && just check + +docker-build: fmt + docker build -t feedaka . |
