From 948a3259fd8fc807bd73375df321d60fd7c824da Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Mon, 8 May 2023 20:03:38 +0300 Subject: [PATCH] =?UTF-8?q?For=20the=20robotics=20enthusiast=20?= =?UTF-8?q?=F0=9F=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../arduino.github.io/arduino-cli/package.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 projects/arduino.github.io/arduino-cli/package.yml diff --git a/projects/arduino.github.io/arduino-cli/package.yml b/projects/arduino.github.io/arduino-cli/package.yml new file mode 100644 index 00000000..92be2e40 --- /dev/null +++ b/projects/arduino.github.io/arduino-cli/package.yml @@ -0,0 +1,22 @@ +distributable: + url: https://github.com/arduino/arduino-cli/archive/refs/tags/{{version}}.tar.gz + strip-components: 1 + +versions: + github: arduino/arduino-cli + +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + go.dev: '*' + script: | + ./install.sh + mkdir -p {{prefix}}/bin + mv ./bin/* {{prefix}}/bin + +provides: + - bin/arduino-cli + +test: | + arduino-cli version | grep {{version}}