X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=modules%2Flibjuju%2FMakefile;h=38dcc1195dd25a18ccfef8804a4b5f25293d8f0a;hp=bd59a974b0650ecb7b8ccf754a823626f15b0324;hb=93a3db12e79d8e35ab8ca9a518a56631d8fd0707;hpb=c3e6c2ec9a1fddfc8e9bd31509b366e633b6d99e diff --git a/modules/libjuju/Makefile b/modules/libjuju/Makefile index bd59a97..38dcc11 100644 --- a/modules/libjuju/Makefile +++ b/modules/libjuju/Makefile @@ -13,7 +13,7 @@ clean: .tox: tox -r --notest -client: +client: .tox ifndef SCHEMAGEN $(error "schemagen is not available, please install from https://github.com/juju/schemagen") endif @@ -22,6 +22,10 @@ endif test: tox +.PHONY: lint +lint: + tox -e lint --notest + docs: .tox $(PIP) install -r docs/requirements.txt rm -rf docs/_build/ @@ -30,7 +34,9 @@ docs: .tox release: git fetch --tags - $(PY) setup.py sdist upload + rm dist/*.tar.gz + $(PY) setup.py sdist + $(BIN)/twine upload --repository-url https://upload.pypi.org/legacy/ dist/* git tag ${VERSION} git push --tags