add make cmd - clean (#5204)
Co-authored-by: Roger Shieh <sh.rog@protonmail.ch>
This commit is contained in:
parent
fd5322d3e7
commit
12d6437f65
17
.update.sh
17
.update.sh
|
@ -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
|
||||
|
6
Makefile
6
Makefile
|
@ -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" )
|
||||
|
|
Loading…
Reference in New Issue