Add build config

This commit is contained in:
2019-11-09 20:47:00 +03:00
parent 4f727d10d3
commit 5542621de7
6 changed files with 79 additions and 13 deletions

View File

@ -1,11 +1,13 @@
PATH := tools:$(PATH)
ifneq ($(STAGE), prod)
PATH := tools:$(PATH)
endif
APP_NAME := dayoff
ENTRY_POINT = ./src/$(APP_NAME).cr
.PHONY: build-docker
build-docker:
docker pull alpine:edge
docker build -t $(APP_NAME)-crystal .
docker build --file docker/Dockerfile.dev --tag $(APP_NAME)-crystal --tag anwinged/$(APP_NAME)-crystal .
install-shards:
shards install