switch to go backend
All checks were successful
Build and Deploy Website / build (push) Successful in 2m26s
All checks were successful
Build and Deploy Website / build (push) Successful in 2m26s
This commit is contained in:
18
Makefile
Normal file
18
Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
.PHONY: all frontend backend run dev clean
|
||||
|
||||
all: frontend backend
|
||||
|
||||
frontend:
|
||||
cd Frontend && npm run build
|
||||
|
||||
backend:
|
||||
cd Backend && go build -o server .
|
||||
|
||||
run: all
|
||||
cd Backend && ./server
|
||||
|
||||
dev:
|
||||
cd Frontend && npm run dev
|
||||
|
||||
clean:
|
||||
rm -rf Backend/server Backend/public/app
|
||||
Reference in New Issue
Block a user