Move installation of the arduino cli into the makefile

tmp/arduino-cli-pre-rebase
Jesse Vincent 4 years ago
parent 82087e4f2c
commit 2ed07d382d
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -43,11 +43,6 @@ _configure_arduino_cli_env() {
}
cmd_install_arduino_cli() {
# todo cd to kaleidoscope dir
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
}
cmd_configure_arduino_cli() {
if [ -z "${ARDUINO_CLI}" ]; then
cmd_install_arduino_cli

@ -20,6 +20,12 @@ all:
@echo "Make all target doesn't do anything"
@: ## Do not remove this line, otherwise `make all` will trigger the `%` rule too.
install-arduino-cli:
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR="$(KALEIDOSCOPE_BIN_DIR)" sh
decompile: disassemble
@: ## Do not remove this line, otherwise `make all` will trigger the `%` rule too.

Loading…
Cancel
Save