Fixes, refactor, a lot of things happen
This commit is contained in:
19
Makefile
Normal file
19
Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
DEPLOY_DIR := ./deploy
|
||||
SRC_DIR := ./src
|
||||
|
||||
## DEPLOY PART
|
||||
build-image-dev:
|
||||
- sh ${DEPLOY_DIR}/image-build.sh dev
|
||||
|
||||
build-image-prod:
|
||||
- sh ${DEPLOY_DIR}/image-build.sh
|
||||
|
||||
push-image-prod:
|
||||
- sh ${DEPLOY_DIR}/image-push.sh
|
||||
|
||||
# (GOLANG) APP PART
|
||||
app-run:
|
||||
- make -C ${SRC_DIR} run
|
||||
|
||||
app-build:
|
||||
- make -C ${SRC_DIR} build
|
||||
Reference in New Issue
Block a user