docker-tidy/Makefile

27 lines
374 B
Makefile
Raw Normal View History

2015-06-30 22:33:43 +00:00
.PHONY: all clean tag test
PACKAGE_VERSION = $(shell python setup.py --version)
DOCKER_REPO ?= ${USER}
BUILD_TAG ?= ${PACKAGE_VERSION}
2015-06-30 22:33:43 +00:00
all: test
clean:
git clean -fdx -- debian
rm -f ./dist
find . -iname '*.pyc' -delete
tag:
git tag v${PACKAGE_VERSION}
test:
tox
tests: test
.PHONY: build
build:
docker build -t ${DOCKER_REPO}/docker-custodian:${BUILD_TAG} .