Skip to content

Commit e23408a

Browse files
committed
Cleanup dist before release
1 parent 7ed68d3 commit e23408a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ help:
99
clean: ## Make a clean source tree
1010
-find . -name '*.pyc' -exec rm -fv {} \;
1111
rm -rf $(PKG_NAME)/__pycache__ __pycache__
12-
rm -rf *.egg-info
13-
rm -rf node_modules
14-
rm -rf lib
12+
rm -rf *.egg-info node_modules/ lib/ dist/
1513

1614
pipenv: ## Make a pipenv development environment
1715
pipenv --python 3.7
@@ -27,7 +25,9 @@ build: ## Make an install of the frontend and server extensions
2725
jupyter serverextension enable $(PKG_NAME)
2826

2927
release: ## Make a release on PyPI and npmjs.org
28+
rm -rf dist/
3029
python setup.py sdist
30+
ls -l dist/
3131
twine upload dist/*.tar.gz
3232
npm publish --access=public
3333

0 commit comments

Comments
 (0)