This commit is contained in:
parent
0376e89f19
commit
533bb922f2
@ -8,4 +8,5 @@ pipeline:
|
||||
backend:
|
||||
image: golang
|
||||
commands:
|
||||
- make -C server setup
|
||||
- make -C server build
|
||||
|
2
Makefile
2
Makefile
@ -19,7 +19,7 @@ setup:
|
||||
@echo "I installing client dependencies"
|
||||
( cd client && yarn install )
|
||||
@echo "I installing server dependencies"
|
||||
( cd server/src/ && go mod tidy )
|
||||
$(MAKE) -C server setup
|
||||
@echo "I create client output directory"
|
||||
mkdir -p client/.output/public/
|
||||
|
||||
|
@ -2,6 +2,9 @@ info:
|
||||
@echo available targets:
|
||||
@perl -ne 'm/^([a-zA-Z0-9\-]+):/ && print(" $$1\n");' Makefile
|
||||
|
||||
setup:
|
||||
cd src/ && go mod tidy
|
||||
|
||||
build:
|
||||
-mkdir -p ../client/.output/public/
|
||||
$(MAKE) generate
|
||||
|
Loading…
Reference in New Issue
Block a user