aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 .