Skip to content

Commit

Permalink
improved tests and some clean issues fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hpsaturn committed Jan 25, 2023
1 parent 8549a63 commit ea2847b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,19 @@ validate_branch () {
}

clean () {
rm -rf .pio
rm -rf examples/advanced_sensirion/.pio
rm -f $OUTPUT
}

runtest () {
pio run --target clean && pio run
runtests () {
pio run
cd examples/advanced_sensirion && pio run
}

build () {


clean
echo ""
echo "***********************************************"
echo "** Building rev$SRC_REV ($SRC_VER)"
Expand Down Expand Up @@ -111,7 +115,7 @@ else
;;

test)
runtest
runtests
;;

help)
Expand Down

0 comments on commit ea2847b

Please sign in to comment.