-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
30 lines (22 loc) · 606 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
build-frontend:
echo "Building frontend"
cd public/app/ && npm run build
build-backend:
echo "Building backend"
go build -o bin/tales cmd/tales/main.go
build-dialogs-sandbox:
echo "Building Dialogs sandbox"
go build -o bin/dialog_sandbox cmd/dialog_sandbox/main.go
run-dialogs-sandbox:
echo "Starting dialogs sandbox..."
go run cmd/dialog_sandbox/main.go
run-server:
echo "Starting tales server ..."
go run cmd/tales/main.go
run-frontend:
echo "Starting tales frtontend ..."
cd public/app/ && npm run dev
run: ; ${MAKE} -j4 run-server run-frontend
build:
build-frontend
build-backend