🔨 Better build, envs, tests

This commit is contained in:
Scott Lahteine
2023-12-15 18:47:34 -06:00
parent a53ad3b631
commit 550a30300d
97 changed files with 14228 additions and 12681 deletions

View File

@@ -5,7 +5,9 @@
# Usage: build_example internal config-home config-folder
#
. mfutil
HERE=`dirname $0`
. "$HERE/mfutil"
# Require 'internal' as the first argument
[[ "$1" == "internal" ]] || { echo "Don't call this script directly, use build_all_examples instead." ; exit 1 ; }
@@ -36,6 +38,6 @@ unset IFS; set +f
echo -e "\n#define NO_CONTROLLER_CUSTOM_WIRING_WARNING" >> Marlin/Configuration.h
echo "Building the firmware now..."
$HERE/mftest -s -a -n1 || { echo "Failed"; exit 1; }
"$HERE/mftest" -s -a -n1 || { echo "Failed"; exit 1; }
echo "Success"