cangrow.sh - remove old CanGrow_Version.h
This commit is contained in:
parent
2a6d1df66a
commit
e7bbcd4d9b
1 changed files with 0 additions and 5 deletions
|
@ -74,11 +74,6 @@ case $1 in
|
||||||
check_acli
|
check_acli
|
||||||
echo ":: Building firmware $VER $BUILD, target dir: $(pwd)/build/"
|
echo ":: Building firmware $VER $BUILD, target dir: $(pwd)/build/"
|
||||||
test -d build || mkdir build
|
test -d build || mkdir build
|
||||||
echo "/* CanGrow_Version.h gets generated from cangrow.sh */
|
|
||||||
|
|
||||||
const char* CanGrowVer = \"${VER}\";
|
|
||||||
const char* CanGrowBuild = \"${BUILD}\";
|
|
||||||
" > Arduino/CanGrow/CanGrow_Version.h
|
|
||||||
${ACLI_CMD} --no-color compile -b ${BOARD} "Arduino/CanGrow/CanGrow.ino" --build-property "build.extra_flags=-DCANGROW_VER=\"${VER}\" -DCANGROW_BUILD=\"${BUILD}\"" --output-dir build/ || exit 1
|
${ACLI_CMD} --no-color compile -b ${BOARD} "Arduino/CanGrow/CanGrow.ino" --build-property "build.extra_flags=-DCANGROW_VER=\"${VER}\" -DCANGROW_BUILD=\"${BUILD}\"" --output-dir build/ || exit 1
|
||||||
cp build/CanGrow.ino.bin build/CanGrow_v${VER}_${BUILD}.bin
|
cp build/CanGrow.ino.bin build/CanGrow_v${VER}_${BUILD}.bin
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue