4
0
Форк 0
PresentazioneEtherpadEtherc.../Makefile
2017-11-20 17:48:14 -05:00

14 рядки
279 Б
Makefile

GIT_SUMMARY := $(shell git describe --tags --dirty --always)
REPO=msoedov/hacker-slides
default: repo
repo:
@echo $(REPO):$(GIT_SUMMARY)
build:
@GOOS=linux CGO_ENABLE=0 go build main.go
@docker build -t $(REPO):$(GIT_SUMMARY) .
push:
@docker push $(REPO):$(GIT_SUMMARY)