feat: add adb scripts

This commit is contained in:
2026-02-02 18:32:18 -08:00
parent f5e8deca59
commit dac875c413
10 changed files with 917 additions and 10 deletions
+15 -1
View File
@@ -17,6 +17,7 @@ help:
@echo ""
@echo "Running scripts:"
@echo " make run - Interactive script runner (select language, category, script)"
@echo " make run-bash - Run a bash script (e.g., make run-bash SCRIPT=bash/adb/push.sh)"
# Install all dependencies
install: install-ts install-py
@@ -75,4 +76,17 @@ clean:
# Interactive script runner
run:
@./run.sh
@./run.sh
# Run a specific bash script
run-bash:
@if [ -z "$(SCRIPT)" ]; then \
echo "Please specify a script: make run-bash SCRIPT=bash/adb/push.sh"; \
exit 1; \
fi
@if [ ! -f "$(SCRIPT)" ]; then \
echo "Script not found: $(SCRIPT)"; \
exit 1; \
fi
@echo "Running bash script: $(SCRIPT)"
@op run --env-file=prod.env --no-masking -- bash "$(SCRIPT)"