Commit 88c9c1c6 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega Committed by Giacomo Bernini
Browse files

Cleanup build folder before new files are generated

parent 71feebb2
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -19,12 +19,14 @@ done


echo "Using git branch $1"
echo "Using git branch $1"


mkdir -p /home/etsi/dev/build
cd /home/etsi/dev/build
rm -r -v *

if [[ "$1" =~ .*-dev$ || "$1" =~ \d+(\.?\d)+ || "$1" == "master" ]]; then
if [[ "$1" =~ .*-dev$ || "$1" =~ \d+(\.?\d)+ || "$1" == "master" ]]; then


	cd /home/etsi/dev/robot2doc/robot2doc
	cd /home/etsi/dev/robot2doc/robot2doc


	mkdir -p /home/etsi/dev/build

	python3 create_sols.py ../../robot 'local' ../../build
	python3 create_sols.py ../../robot 'local' ../../build
	res2=$?
	res2=$?
else res2=0
else res2=0