Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Unity に於ける Android ビルド自動化のおはなし【実践編】

Unity に於ける Android ビルド自動化のおはなし【実践編】

Tetsuya Mori

December 15, 2014
Tweet

More Decks by Tetsuya Mori

Other Decks in Programming

Transcript

  1. MTMBBQQT ͳΓ͖Γ ͬ͜͝ϥϯυ ύζϧςΠϧζ
 ͓͔͠ͷ͘ʹΛ ͭ͘Δͷ͡Ό ͳΓ͖Γ ΞΠεΫϦʔϜ ԰͞Μͬ͜͝ ͳΓ͖Γ

    ϚϚͬ͜͝ ͓ห౰Λͭ͘Ζ͏ʂ ͓͔͠ͷՈΛ ͭ͘Ζ͏ʂ ϋϯόʔΨʔ ΍͞Μͬ͜͝ ඈߦػΛ ૊ΈཱͯΑ͏ʂ i18n i18n i18n i18n Ώ͔͍ͳ ͓Ֆ԰͞Μ App Store / Google Play カテゴリランキング1位 多数獲得!!!
  2. &YQPSU"OESPJE1SPKFDU BuildPipeline.BuildPlayer( new string[] { "Main.scene" }, "/Users/monry/SampleProject", BuildTarget.Android, BuildOptions.Development

    | BuildOptions.AllowDebugging
 | BuildOptions.AcceptExternalModificationsToPlayer ); &YBNQMF ͜ΕͰ"OESPJE1SPKFDU͕ग़ྗ͞ΕΔ
  3. "SDIJWF System.Diagnostics.Process process = new System.Diagnostics.Process(); process.StartInfo.FileName = "/usr/local/bin/gradle"; process.StartInfo.Arguments

    = string.Format( "-b \"{0}/build.gradle\" assembleProduction", "/path/to/export" ); process.StartInfo.CreateNoWindow = true; process.Start(); process.WaitForExit(); process.Close(); Կ͸ͳ͘ͱ΋HSBEMFίϚϯυ࣮ߦ ύε͸؀ڥʹԠͯ͡ม͑Δ