aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-07-13 14:14:14 +0900
committernsfisis <nsfisis@gmail.com>2025-07-13 14:14:14 +0900
commitd0099d8f48c5a497f50768c1ec05c6f417b03662 (patch)
tree0496b35f308768ee9908a1ab5cb7181f861ef5c6
parenta43e3db41633e149736a2153dbc97979a723771e (diff)
downloadfeedaka-d0099d8f48c5a497f50768c1ec05c6f417b03662.tar.gz
feedaka-d0099d8f48c5a497f50768c1ec05c6f417b03662.tar.zst
feedaka-d0099d8f48c5a497f50768c1ec05c6f417b03662.zip
chore: update justfiles
-rw-r--r--backend/justfile5
-rw-r--r--compose.yaml1
-rw-r--r--frontend/package.json3
-rw-r--r--justfile8
4 files changed, 12 insertions, 5 deletions
diff --git a/backend/justfile b/backend/justfile
index 7dba240..d37ae8b 100644
--- a/backend/justfile
+++ b/backend/justfile
@@ -1,4 +1,7 @@
-build: generate
+list:
+ @just -l
+
+build:
go build -o feedaka .
fmt:
diff --git a/compose.yaml b/compose.yaml
index 1a40ecc..9097b0c 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -8,6 +8,5 @@ services:
- '127.0.0.1:8002:8080'
environment:
TZ: Asia/Tokyo
- FEEDAKA_BASE_PATH: ''
FEEDAKA_PORT: '8080'
restart: always
diff --git a/frontend/package.json b/frontend/package.json
index a4121dc..98448e1 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -4,10 +4,11 @@
"version": "0.0.0",
"type": "module",
"scripts": {
- "build": "npm run graphql-codegen && tsc -b && vite build",
+ "build": "tsc -b && vite build",
"check": "biome check .",
"dev": "vite",
"fix": "biome check --write .",
+ "generate": "npm run graphql-codegen",
"graphql-codegen": "graphql-codegen --config graphql-codegen.ts",
"preview": "vite preview"
},
diff --git a/justfile b/justfile
index 5268537..0c7b735 100644
--- a/justfile
+++ b/justfile
@@ -2,9 +2,9 @@ list:
@just -l
serve:
- FEEDAKA_BASE_PATH="" FEEDAKA_PORT=8080 ./backend/feedaka
+ FEEDAKA_PORT=8080 ./backend/feedaka
-build:
+build: generate
cd frontend && npm run build
cd backend && just build
@@ -15,3 +15,7 @@ fmt:
check:
cd frontend && npm run check
cd backend && just check
+
+generate:
+ cd frontend && npm run generate
+ cd backend && just generate