Arduino/CanGrow/cangrow.sh aktualisiert
This commit is contained in:
parent
0d0efbb2c1
commit
8e5268df22
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,7 @@ BUILD="$(git rev-parse --short HEAD)-$(echo $BOARD | cut -d : -f1)-$(date '+%Y%m
|
||||||
ACLI="$HOME/.local/bin/arduino-cli"
|
ACLI="$HOME/.local/bin/arduino-cli"
|
||||||
ACLI_CMD="$ACLI --config-file arduino-cli.yml"
|
ACLI_CMD="$ACLI --config-file arduino-cli.yml"
|
||||||
test -z $BUILDDIR && BUILDDIR="build"
|
test -z $BUILDDIR && BUILDDIR="build"
|
||||||
ACLI_CMD="${ACLI_CMD} --output-dir ${BUILDDIR}"
|
|
||||||
|
|
||||||
function help() {
|
function help() {
|
||||||
echo "$0 [setup|build|upload|webupload|monitor]"
|
echo "$0 [setup|build|upload|webupload|monitor]"
|
||||||
|
@ -92,6 +92,7 @@ case $1 in
|
||||||
;;
|
;;
|
||||||
b|build)
|
b|build)
|
||||||
check_acli
|
check_acli
|
||||||
|
ACLI_CMD="${ACLI_CMD} --output-dir ${BUILDDIR}"
|
||||||
echo ":: Building firmware $VER $BUILD, target dir: ${BUILDDIR}/"
|
echo ":: Building firmware $VER $BUILD, target dir: ${BUILDDIR}/"
|
||||||
|
|
||||||
test -d ${BUILDDIR} || mkdir ${BUILDDIR}
|
test -d ${BUILDDIR} || mkdir ${BUILDDIR}
|
||||||
|
|
Loading…
Reference in a new issue