We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dac61ca commit ba0bfdfCopy full SHA for ba0bfdf
.github/scripts/sketch_utils.sh
@@ -7,19 +7,22 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <fqbn> <path-to-i
7
return 1
8
fi
9
10
- ARDUINO_CACHE_DIR="$HOME/.arduino/cache.tmp"
11
- if [ -z "$ARDUINO_BUILD_DIR" ]; then
12
- build_dir="$(dirname $sketch)/build"
13
- else
14
- build_dir="$ARDUINO_BUILD_DIR"
15
- fi
16
local ide_path=$1
17
local usr_path=$2
18
local fqbn=$3
19
local sketch=$4
20
local xtra_opts=$5
21
local win_opts=$6
22
+ ARDUINO_CACHE_DIR="$HOME/.arduino/cache.tmp"
+ if [ -z "$ARDUINO_BUILD_DIR" ]; then
+ build_dir="$(dirname $sketch)/build"
+ else
+ build_dir="$ARDUINO_BUILD_DIR"
+ fi
23
+
24
+ echo $sketch
25
26
rm -rf "$build_dir"
27
mkdir -p "$build_dir"
28
mkdir -p "$ARDUINO_CACHE_DIR"
0 commit comments