mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-01-07 15:17:42 -07:00
🔨 Suppress generate_version (for now)
This commit is contained in:
parent
f3be22c4ff
commit
bd382fb8a1
1 changed files with 7 additions and 0 deletions
|
|
@ -3,12 +3,19 @@
|
|||
# generate_version
|
||||
#
|
||||
# Make a Version.h file to accompany CUSTOM_VERSION_FILE
|
||||
# Invoked automatically by Arduino IDE
|
||||
#
|
||||
# Authors: jbrazio, thinkyhead, InsanityAutomation, rfinnie
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
# Only run if ALLOW_GENERATE_VERSION is set
|
||||
if [[ "$ALLOW_GENERATE_VERSION" != "1" ]]; then
|
||||
echo "Skipping generate_version because ALLOW_GENERATE_VERSION is not set."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
DIR="${1:-Marlin}"
|
||||
READ_FILE="${READ_FILE:-${DIR}/Version.h}"
|
||||
WRITE_FILE="${WRITE_FILE:-${READ_FILE}}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue