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