Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit128ee9a

Browse files
authored
feat: Add new examples and bricks model configurations from0.4.8 to0.5.0 (#20)
1 parent45b7220 commit128ee9a

File tree

166 files changed

+734
-1344
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+734
-1344
lines changed

‎Taskfile.yml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ vars:
88
GOLANGCI_LINT_VERSION:v2.4.0
99
GOIMPORTS_VERSION:v0.29.0
1010
DPRINT_VERSION:0.48.0
11-
EXAMPLE_VERSION:"0.4.8"
12-
RUNNER_VERSION:"0.4.8"
11+
EXAMPLE_VERSION:"0.5.0"
12+
RUNNER_VERSION:"0.5.0"
1313
VERSION:# if version is not passed we hack the semver by encoding the commit as pre-release
1414
sh:echo "${VERSION:-0.0.0-$(git rev-parse --short HEAD)}"
1515

@@ -115,8 +115,8 @@ tasks:
115115
echo "Runner version set as: {{ .EXAMPLE_VERSION }}"
116116
TMP_PATH="$(mktemp -d)"
117117
DEST_PATH="debian/arduino-app-cli/home/arduino/.local/share/arduino-app-cli/"
118-
echo "Cloningbcmi-labs/app-bricks-example into temporary directory ${TMP_PATH}..."
119-
git clone --depth 1 --branch "{{ .EXAMPLE_VERSION }}" https://github.com/bcmi-labs/app-bricks-example "${TMP_PATH}"
118+
echo "Cloningarduino/app-bricks-example into temporary directory ${TMP_PATH}..."
119+
git clone --depth 1 --branch "{{ .EXAMPLE_VERSION }}" https://github.com/arduino/app-bricks-example "${TMP_PATH}"
120120
rm -rf "${DEST_PATH}/examples"
121121
mkdir -p "${DEST_PATH}"
122122
mv "${TMP_PATH}/examples" "${DEST_PATH}"
@@ -215,7 +215,7 @@ tasks:
215215
TMP_PATH="$(mktemp -d)"
216216
217217
echo "Cloning examples into temporary directory ${TMP_PATH}..."
218-
git clone --depth 1 https://github.com/bcmi-labs/app-bricks-example.git "${TMP_PATH}"
218+
git clone --depth 1 https://github.com/arduino/app-bricks-example.git "${TMP_PATH}"
219219
220220
echo "Installing examples to ${DEST_PATH}examples"
221221
rm -rf "${DEST_PATH}examples"
@@ -230,7 +230,7 @@ tasks:
230230
desc:This generates the models and bricks index. Also updates the corresponding testdata.
231231
vars:
232232
sed_replacement: s#runnerVersion = \".*#runnerVersion = \"{{.RUNNER_VERSION}}\"#
233-
TMPDIR:'{{trimSuffix "/".TMPDIR| default "/tmp"}}/generate-assets'
233+
TMPDIR:'{{trimSuffix "/"(env "TMPDIR")| default "/tmp"}}/generate-assets'
234234
SEMVER_TAG:"{{.RUNNER_VERSION}}"
235235
OUTPUT_DIR:"{{.TMPDIR}}/{{.SEMVER_TAG}}"
236236
ASSETS_DIR:debian/arduino-app-cli/home/arduino/.local/share/arduino-app-cli/assets
@@ -241,7 +241,7 @@ tasks:
241241
cmds:
242242
-|
243243
# Get the corresponding models and bricks release, and unzip it.
244-
gh release download -Rbcmi-labs/app-bricks-py "release/{{.SEMVER_TAG}}" -p '*.whl' -D "{{.TMPDIR}}" --clobber
244+
gh release download -Rarduino/app-bricks-py "release/{{.SEMVER_TAG}}" -p '*.whl' -D "{{.TMPDIR}}" --clobber
245245
unzip -o "{{.TMPDIR}}/arduino_app_bricks-{{.SEMVER_TAG}}-py3-none-any.whl" -d "{{.OUTPUT_DIR}}"
246246
-|
247247
# Copy the assets to the assets dir and testdata dir, replacing the previous version.

‎debian/arduino-app-cli/home/arduino/.local/share/arduino-app-cli/assets/0.4.8/api-docs/arduino/app_bricks/air_quality_monitor/API.md‎

Lines changed: 0 additions & 192 deletions
This file was deleted.

‎debian/arduino-app-cli/home/arduino/.local/share/arduino-app-cli/assets/0.4.8/api-docs/arduino/app_bricks/imageclassification/API.md‎

Lines changed: 0 additions & 71 deletions
This file was deleted.

‎debian/arduino-app-cli/home/arduino/.local/share/arduino-app-cli/assets/0.4.8/api-docs/arduino/app_bricks/keyword_spotter/API.md‎

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp