This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Applications/Unity/Unity.app/Contents/MacOS/Unity | |
| \ -quit -batchmode | |
| \ -logfile - | |
| \ -executeMethod CoolProject.Builder.BuildProject | |
| \ -outputPath <<your-output-path>> | |
| \ -buildTarget Android |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Applications/Unity/Unity.app/Contents/MacOS/Unity | |
| \ -quit -batchmode | |
| \ -logfile - | |
| \ -executeMethod CoolProject.SomeClass.SomeMethod | |
| \ -points 100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Applications/Unity/Unity.app/Contents/MacOS/Unity | |
| \ -quit -batchmode | |
| \ -serial SB-XXXX-XXXX-XXXX-XXXX-XXXX | |
| \ -username 'JoeBloggs@example.com' | |
| \ -password 'MyPassw0rd' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace CoolProject | |
| { | |
| public static class Builder | |
| { | |
| public static void BuildProject(string path, BuildTarget buildTarget) | |
| { | |
| var options = new BuildPlayerOptions | |
| { | |
| scenes = ActiveScenePaths.ToArray(), | |
| target = buildTarget, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| hockey( | |
| api_token: hockeyapp_token, | |
| ipa: output_folder + options[:build_name] + ".ipa", | |
| notes: options[:build_name] | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| lane :build_debug do |options| | |
| match( | |
| type: "development", | |
| app_identifier: options[:bundle_id], | |
| username: dev_username, | |
| git_url: provisioning_git_url | |
| ) | |
| gym( | |
| project: "./iOS/" + options[:build_name] + "/Unity-iPhone.xcodeproj", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| lane :build_debug do |options| | |
| Dir.chdir("..") do | |
| sh("./setup-gradle-wrapper.sh", options[:build_name], options[:product_name]) | |
| end | |
| gradle( | |
| project_dir: "./Android/" + options[:build_name] + "/" + options[:product_name], | |
| task: "clean assembleDebug" | |
| ) | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Applications/Unity 2018.3.1f/Unity.app/Contents/MacOS/Unity" -quit -batchmode -logfile - -projectPath [PROJECT_PATH] -executemethod Joyseed.Build.CommandLine.CommandLineBuild -buildReporter "TeamCity" -buildTarget "Android" -buildNumber 13 -devBuild "true" -buildMode "SBOX" -exportAndroidStudio "true" |