Refactoring
This commit is contained in:
8
Makefile
8
Makefile
@@ -2,16 +2,16 @@ DEPLOY_DIR := ./deploy
|
||||
SRC_DIR := ./src
|
||||
|
||||
build-image-dev:
|
||||
- sh ${DEPLOY_DIR}/image-build.sh dev
|
||||
- sh ${DEPLOY_DIR}/scripts/image-build.sh dev
|
||||
|
||||
build-image-prod:
|
||||
- sh ${DEPLOY_DIR}/image-build.sh
|
||||
- sh ${DEPLOY_DIR}/scripts/image-build.sh
|
||||
|
||||
push-image-dev:
|
||||
- sh ${DEPLOY_DIR}/image-push.sh dev
|
||||
- sh ${DEPLOY_DIR}/scripts/image-push.sh dev
|
||||
|
||||
push-image-prod:
|
||||
- sh ${DEPLOY_DIR}/image-push.sh
|
||||
- sh ${DEPLOY_DIR}/scripts/image-push.sh
|
||||
|
||||
build-local-server:
|
||||
- go build -C ${SRC_DIR} -o ../deploy/server cmd/server/main.go
|
||||
|
||||
Reference in New Issue
Block a user