Skip to content

Commit 43bf940

Browse files
batに--template-dirを追加。
1 parent 0d54a01 commit 43bf940

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

samples/android-plugin-kotlin.bat

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ set LANG=deviceConnectKotlinPlugin
44
:: プロファイル定義ファイル
55
set SPEC=.\sample-profile-specs\swagger.json
66

7+
8+
:: テンプレート
9+
set TEMPLATE_DIR="./templates/deviceConnectKotlinPlugin"
10+
711
:: スケルトンコード出力先
812
set OUTPUT_DIR=.\output\Android\MyPluginForKotlin
913

@@ -16,4 +20,4 @@ set DISPLAY_NAME=MyPluginForKotlin
1620
:: スケルトンコード生成ツールのバイナリ
1721
set JAR_FILE=..\bin\deviceconnect-codegen.jar
1822

19-
java -Dfile.encoding=UTF-8 -jar %JAR_FILE% --config .\configs\android-plugin-kotlin.json --input-spec %SPEC% --lang %LANG% --package-name %PACKAGE_NAME% --display-name %DISPLAY_NAME% --output %OUTPUT_DIR%
23+
java -Dfile.encoding=UTF-8 -jar %JAR_FILE% --config .\configs\android-plugin-kotlin.json --template-dir %TEMPLATE_DIR% --input-spec %SPEC% --lang %LANG% --package-name %PACKAGE_NAME% --display-name %DISPLAY_NAME% --output %OUTPUT_DIR%

0 commit comments

Comments
 (0)