Skip to content

Commit 3e67c74

Browse files
abueideclaude
andauthored
feat(android): route plugin.json scripts through segkit (#58)
Replace direct android.sh calls in the Android plugin's convenience scripts with segkit android delegation. No fallbacks — segkit must be available on PATH or the command fails immediately. Scripts updated: android:sync, android:devices:eval, start:android, start:emu, stop:emu, reset:emu. Also adds `segkit:install` devbox script for cargo install --path. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 438afa4 commit 3e67c74

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

devbox.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@
199199
"segkit:build": [
200200
"cargo build --manifest-path segkit/Cargo.toml"
201201
],
202+
"segkit:install": [
203+
"cargo install --path segkit"
204+
],
202205
"segkit:test": [
203206
"cargo test --manifest-path segkit/Cargo.toml"
204207
],

plugins/android/plugin.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,22 +73,22 @@
7373
"bash {{ .Virtenv }}/scripts/user/setup.sh"
7474
],
7575
"android:sync": [
76-
"android.sh devices sync"
76+
"segkit android devices sync"
7777
],
7878
"android:devices:eval": [
79-
"ANDROID_SDK_REQUIRED=0 android.sh devices eval"
79+
"ANDROID_SDK_REQUIRED=0 segkit android devices eval"
8080
],
8181
"start:android": [
82-
"android.sh run \"${1:-}\""
82+
"segkit android run \"${1:-}\""
8383
],
8484
"start:emu": [
85-
"android.sh emulator start \"${1:-}\""
85+
"segkit android emulator start \"${1:-}\""
8686
],
8787
"stop:emu": [
88-
"android.sh emulator stop"
88+
"segkit android emulator stop"
8989
],
9090
"reset:emu": [
91-
"android.sh emulator reset"
91+
"segkit android emulator reset"
9292
],
9393
"doctor": [
9494
"bash {{ .Virtenv }}/scripts/user/doctor.sh"

0 commit comments

Comments
 (0)