From 12d6437f65651b2fcafaf32bbcd5c548eb725e22 Mon Sep 17 00:00:00 2001 From: Jirka Borovec Date: Mon, 21 Dec 2020 07:35:01 +0100 Subject: [PATCH] add make cmd - clean (#5204) Co-authored-by: Roger Shieh --- .update.sh | 17 ----------------- Makefile | 6 +++++- 2 files changed, 5 insertions(+), 18 deletions(-) delete mode 100644 .update.sh diff --git a/.update.sh b/.update.sh deleted file mode 100644 index 40fcc22d6b..0000000000 --- a/.update.sh +++ /dev/null @@ -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 - diff --git a/Makefile b/Makefile index 76e8bac4e3..55a95f0b14 100644 --- a/Makefile +++ b/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" )