kaleidoscope-builder: Clear trailing whitespace

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/305/head
Gergely Nagy 7 years ago
parent ce3ad7bc7d
commit 5c9b3d6799

@ -121,12 +121,12 @@ hex_with_bootloader () {
cat "${BOOTLOADER_PATH}" >> "${HEX_FILE_WITH_BOOTLOADER_PATH}" cat "${BOOTLOADER_PATH}" >> "${HEX_FILE_WITH_BOOTLOADER_PATH}"
ln -sf -- "${HEX_FILE_WITH_BOOTLOADER_PATH}" "${OUTPUT_PATH}/${SKETCH}-latest-with-bootloader.hex" ln -sf -- "${HEX_FILE_WITH_BOOTLOADER_PATH}" "${OUTPUT_PATH}/${SKETCH}-latest-with-bootloader.hex"
cat <<- EOF cat <<- EOF
Combined firmware and bootloader are now at ${HEX_FILE_WITH_BOOTLOADER_PATH} Combined firmware and bootloader are now at ${HEX_FILE_WITH_BOOTLOADER_PATH}
Make sure you have the bootloader version you expect. Make sure you have the bootloader version you expect.
And TEST THIS ON REAL HARDWARE BEFORE YOU GIVE IT TO ANYONE And TEST THIS ON REAL HARDWARE BEFORE YOU GIVE IT TO ANYONE
EOF EOF
} }
@ -181,8 +181,8 @@ compile () {
if [ "${ARDUINO_VERBOSE}" = "-verbose" ]; then if [ "${ARDUINO_VERBOSE}" = "-verbose" ]; then
echo "Build artifacts can be found in ${BUILD_PATH}"; echo "Build artifacts can be found in ${BUILD_PATH}";
else else
rm -rf "${BUILD_PATH}" rm -rf "${BUILD_PATH}"
fi fi
} }
_find_all () { _find_all () {
@ -297,38 +297,38 @@ EOF
usage () { usage () {
cat <<- EOF cat <<- EOF
Usage: $0 SKETCH commands... Usage: $0 SKETCH commands...
Runs all of the commands in the context of the Sketch. Runs all of the commands in the context of the Sketch.
Available commands: Available commands:
help help
his help screen. his help screen.
compile compile
Compiles the sketch. Compiles the sketch.
size size
Reports the size of the compiled sketch. Reports the size of the compiled sketch.
build build
Runs compile and report-size. Runs compile and report-size.
clean clean
Cleans up the output directory. Cleans up the output directory.
size-map size-map
Displays the size map for the sketch. Displays the size map for the sketch.
disassemble disassemble
Decompile the sketch. Decompile the sketch.
reset-device reset-device
Reset the device. Reset the device.
flash flash
Flashes the firmware using avrdude. Flashes the firmware using avrdude.
build-all build-all
Build all Sketches we can find. Build all Sketches we can find.
EOF EOF

Loading…
Cancel
Save