From c0cec4794ba253caee2d3fd815e053bb616b8883 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 11 Jul 2025 00:49:14 +0900 Subject: feat(common): migrate Makefile to justfile --- Makefile | 16 ---------------- justfile | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 16 deletions(-) delete mode 100644 Makefile create mode 100644 justfile 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 . -- cgit v1.2.3-70-g09d2