aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-07-11 00:14:53 +0900
committernsfisis <nsfisis@gmail.com>2025-07-11 00:14:53 +0900
commit8567b436134f75d017d07cc1949e79d4007df732 (patch)
tree25d055d323b870825b283e5c87342d2c1059ec44
parent5fd105fd8ff480afaaf9c8ccd45eb26b61018550 (diff)
downloadfeedaka-8567b436134f75d017d07cc1949e79d4007df732.tar.gz
feedaka-8567b436134f75d017d07cc1949e79d4007df732.tar.zst
feedaka-8567b436134f75d017d07cc1949e79d4007df732.zip
feat(backend): add justfile for backend
-rw-r--r--Makefile4
-rw-r--r--backend/justfile8
2 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 36278b6..9f5d67b 100644
--- a/Makefile
+++ b/Makefile
@@ -4,11 +4,11 @@ serve: build
build:
cd frontend && npm run check
cd frontend && npm run build
- cd backend && go build -o feedaka main.go
+ cd backend && just build
fmt:
cd frontend && npm run fmt
- cd backend && go fmt .
+ cd backend && just fmt
docker-build: fmt
docker build -t feedaka .
diff --git a/backend/justfile b/backend/justfile
new file mode 100644
index 0000000..c2f97ff
--- /dev/null
+++ b/backend/justfile
@@ -0,0 +1,8 @@
+build:
+ go build -o feedaka .
+
+fmt:
+ go fmt .
+
+check:
+ go build -o /dev/null .