We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13907e1 commit 480e4fbCopy full SHA for 480e4fb
.github/scripts/tests_build.sh
@@ -6,8 +6,17 @@ USAGE:
6
Example: ${0} -c -t esp32 -i 0 -m 15
7
${0} -s sketch_name <build_opts>
8
Example: ${0} -s hello_world -t esp32
9
+ ${0} -clean
10
+ Remove build and test generated files
11
"
12
13
+function clean(){
14
+ rm -rf tests/*/build*/
15
+ rm -rf tests/.pytest_cache
16
+ rm -rf tests/*/__pycache__/
17
+ rm -rf tests/*/*.xml
18
+}
19
+
20
SCRIPTS_DIR="./.github/scripts"
21
BUILD_CMD=""
22
@@ -26,6 +35,10 @@ while [ ! -z "$1" ]; do
26
35
echo "$USAGE"
27
36
exit 0
28
37
;;
38
+ -clean )
39
+ clean
40
+ exit 0
41
+ ;;
29
42
* )
30
43
break
31
44
0 commit comments