github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/acceptancetests/repository/charms/client-forwardproxy/Makefile (about) 1 PWD := $(shell pwd) 2 HOOKS_DIR := $(PWD)/hooks 3 TEST_DIR := $(PWD)/hooks/tests 4 CHARM_DIR := $(PWD) 5 6 7 build: test proof 8 9 revision: 10 @test -f revision || echo 0 > revision 11 12 proof: revision 13 @echo Proofing charm... 14 @(charm proof $(PWD) || [ $$? -eq 100 ]) && echo OK 15 @test `cat revision` = 0 && rm revision 16 17 test: 18 @echo no tests yet... 19 20 clean: 21 rm -rf .venv 22 23 24 .PHONY: revision proof test lint sourcedeps charm-payload