Files
imaginary_mirror/Makefile
Tomas Aparicio 70ad7331a1 refactor
2015-11-04 19:07:17 +00:00

23 lines
410 B
Makefile

OK_COLOR=\033[32;01m
NO_COLOR=\033[0m
build:
@echo "$(OK_COLOR)==> Compiling binary$(NO_COLOR)"
go test && go build -o bin/imaginary
test:
go test
benchmark: build
bash benchmark.sh
docker-build:
docker build --no-cache=true -t h2non/imaginary:$(VERSION) .
docker-push:
docker push h2non/imaginary:$(VERSION)
docker: docker-build docker-push
.PHONY: test benchmark docker-build docker-push docker