4 SCHEMAGEN
:= $(shell which schemagen
)
5 VERSION
=$(shell cat VERSION
)
8 find .
-name __pycache__
-type d
-exec
rm -r
{} +
9 find .
-name
*.pyc
-delete
18 $(error
"schemagen is not available, please install from https://github.com/juju/schemagen")
20 $(PY
) -m juju.client.facade
-s
"juju/client/schemas*" -o juju
/client
/
30 $(PIP
) install -r docs
/requirements.txt
32 $(BIN
)/sphinx-build
-b html docs
/ docs
/_build
/
33 cd docs
/_build
/ && zip
-r docs.zip
*
39 $(BIN
)/twine upload
--repository-url https
://upload.pypi.org
/legacy
/ dist/*
46 .PHONY
: clean client
test docs upload release