What?
- シンプルなモバイルプラットフォーム向けのビルドを実行します。
- Jenkins などの CI ツールから叩かれることを想定して、プラットフォーム別の外部公開メソッドを提供しています。
- アプリケーションそのものと AssetBundle のビルドを提供します。
Why?
- Jenkins から叩ける汎用的なビルド処理の受け口が欲しかったので実装しました。
Install
$ npm install -D github:umm-projects/simple_build.git
Usage
/Applications/Unity/Unity.app/Contents/MacOS/Unity -quit -batchmode -projectPath /path/to/unity -executeMethod SimpleBuild.BuildPlayer.Run_iOS
/Applications/Unity/Unity.app/Contents/MacOS/Unity -quit -batchmode -projectPath /path/to/unity -executeMethod SimpleBuild.BuildPlayer.Run_Android
/Applications/Unity/Unity.app/Contents/MacOS/Unity -quit -batchmode -projectPath /path/to/unity -executeMethod SimpleBuild.BuildAssetBundle.Run_iOS
/Applications/Unity/Unity.app/Contents/MacOS/Unity -quit -batchmode -projectPath /path/to/unity -executeMethod SimpleBuild.BuildAssetBundle.Run_Android
- Jenkins などから、
SimpleBuild.BuildPlayer.Run_XXX
でプラットフォーム別にビルドを呼び出します。 - プロジェクトのメニューの
Project
> Build Player
を実行すると、現在エディタが向いているプラットフォーム向けのプレイヤービルドを実行します。 - プロジェクトのメニューの
Project
> Build AssetBundle
を実行すると、現在エディタが向いているプラットフォーム向けの AssetBundle ビルドを実行します。
License
Copyright (c) 2017 Tetsuya Mori
Released under the MIT license, see LICENSE.txt