Skip to content
Snippets Groups Projects
Commit 834382c4 authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] #98 fix build and dist clear if folders not exists

parent 430e37ea
No related branches found
No related tags found
No related merge requests found
Pipeline #5910 failed
...@@ -34,7 +34,8 @@ format: ...@@ -34,7 +34,8 @@ format:
# build a wheel package in dist folder # build a wheel package in dist folder
build: build:
rm -r build/* dist/* if [ -d "./build" ]; then rm -r build/*; fi
if [ -d "./dist" ]; then rm -r dist/*; fi
python setup.py sdist bdist_wheel python setup.py sdist bdist_wheel
# upload on PyPi repository # upload on PyPi repository
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment