Sfoglia il codice sorgente

[F] Fix deploy script

Azalea (on HyDEV-Daisy) 2 anni fa
parent
commit
7e59c362be
2 ha cambiato i file con 2 aggiunte e 15 eliminazioni
  1. 0 12
      tools/buildAndClean.sh
  2. 2 3
      tools/deploy.sh

+ 0 - 12
tools/buildAndClean.sh

@@ -1,12 +0,0 @@
-#!/usr/bin/env bash
-
-# Stop on error
-set -e
-
-# Remove old build
-rm -rf ../dist/*
-rm -rf ../build/*
-
-# Build
-cd ..
-python setup.py sdist bdist_wheel

+ 2 - 3
tools/deploy.sh

@@ -4,11 +4,10 @@
 set -e
 
 # Remove old build
-rm -rf ../dist/*
-rm -rf ../build/*
+rm -rf dist/*
+rm -rf build/*
 
 # Build
-cd ..
 python setup.py sdist bdist_wheel
 
 # Check built files