add make cmd - clean (#5204)

Co-authored-by: Roger Shieh <sh.rog@protonmail.ch>
This commit is contained in:
Jirka Borovec 2020-12-21 07:35:01 +01:00 committed by Jirka Borovec
parent fd5322d3e7
commit 12d6437f65
2 changed files with 5 additions and 18 deletions

View File

@ -1,17 +0,0 @@
#!/bin/bash
version=$1
git commit -am "release v$version"
git tag $version -m "test_tube v$version"
git push --tags origin master
# push to pypi
rm -rf ./dist/*
python3 setup.py sdist
twine upload dist/*
# to update docs
# cd to root dir
# mkdocs gh-deploy

View File

@ -1,4 +1,4 @@
.PHONY: test
.PHONY: test clean
test:
# install APEX, see https://github.com/NVIDIA/apex#linux
@ -13,3 +13,7 @@ test:
# specific file
# python -m coverage run --source pytorch_lightning -m py.test --flake8 --durations=0 -v -k
clean:
# clean all temp runs
rm -rf $(shell find . -name "mlruns" )