remove build-all, now that we no longer need it

tmp/arduino-cli-pre-rebase
Jesse Vincent 4 years ago
parent a8cf88eaa7
commit fd7a9dcb1e
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -415,34 +415,6 @@ _arduino_props() {
echo "$_ARDUINO_PREFS"
}
find_all_sketches() {
for sketch_name in ./*.ino \
$([ -d examples ] && find examples -name '*.ino') \
src/*.ino; do
if [ -d "$(dirname "${sketch_name}")" ] || [ -f "${sketch_name}" ]; then
p="$(basename "${sketch_name}" .ino)"
if [ "${p}" != '*' ]; then
case "${sketch_name}" in
examples/*/${p}/${p}.ino)
echo "${sketch_name}" | sed -e "s,examples/,," | sed -e "s,/${p}\\.ino,,"
;;
*)
echo "${p}"
;;
esac
fi
fi
done | sort
}
build_all() {
plugins="$(find_all_sketches)"
for sketch in ${plugins}; do
$0 "${sketch}" compile
done
}
size_map() {
compile

@ -56,7 +56,7 @@ compile-sketch:
OUTPUT_PATH="${LIB_DIR}" \
VERBOSE=${VERBOSE} \
ARCH=virtual DEFAULT_SKETCH=sketch \
$(MAKE) -f ${top_dir}/testing/makefiles/delegate.mk build-all
$(MAKE) -f ${top_dir}/testing/makefiles/delegate.mk compile
g++ -o "${BIN_DIR}/${BIN_FILE}" \
-lpthread \
-g \

Loading…
Cancel
Save