Files
identity-service/Makefile
2025-10-27 17:22:32 +01:00

27 lines
535 B
Makefile

DEPLOY_DIR := ./deploy
SRC_DIR := ./src
build-image-dev:
- sh ${DEPLOY_DIR}/image-build.sh dev
build-image-prod:
- sh ${DEPLOY_DIR}/image-build.sh
push-image-dev:
- sh ${DEPLOY_DIR}/image-push.sh dev
push-image-prod:
- sh ${DEPLOY_DIR}/image-push.sh
build-local-server:
- go build -C ${SRC_DIR} -o ../deploy/server cmd/server/main.go
run-local-server:
- cd deploy/ && ./server
build-local-scheduler:
- go build -C ${SRC_DIR} -o ../deploy/scheduler cmd/scheduler/main.go
run-local-scheduler:
- cd deploy/ && ./scheduler