Files

45 lines
1.3 KiB
Batchfile

@echo off
chcp 65001 > nul
echo ==========================================================
echo Android 音声操作端末 Docker 実行ランチャー
echo ==========================================================
set MODE=%~1
if "%MODE%"=="" set MODE=simulation
if /i "%MODE%"=="simulation" goto run_sim
if /i "%MODE%"=="demo" goto run_sim
if /i "%MODE%"=="interactive" goto run_interactive
if /i "%MODE%"=="cli" goto run_interactive
if /i "%MODE%"=="test" goto run_test
if /i "%MODE%"=="build" goto run_build
echo 使用方法: run.bat [モード]
echo simulation (または指定なし) : デモ入力シナリオの動作検証
echo interactive : 対話型CLIによる任意音声コマンド検証
echo test : 全ユニットテストの実行
echo build : Debug APKのビルド
goto end
:run_sim
echo [INFO] デモ・動作シミュレーションを実行中...
docker compose run --rm simulation
goto end
:run_interactive
echo [INFO] 対話型シミュレーションを起動中...
docker compose run --rm -it interactive
goto end
:run_test
echo [INFO] 単体テストを実行中...
docker compose run --rm test
goto end
:run_build
echo [INFO] Android APK ビルドを実行中...
docker compose run --rm build
goto end
:end