Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jonathanpeppers/unitybuild

Example project showing automated builds with Unity3D
https://github.com/jonathanpeppers/unitybuild

build build-automation fake unity unity3d

Last synced: 3 months ago
JSON representation

Example project showing automated builds with Unity3D

Awesome Lists containing this project

README

        

# UnityBuild
Example project showing automated builds with Unity3D

Note, build script assumes you have Unity installed at `/Applications/Unity/Unity.app/` on Mac and `C:\Program Files\Unity` on Windows. You can edit these paths in `build-helpers.fsx`.

# How to run a build

On Mac
```
#Exports an Xcode project to Scratch/Xcode
./build.sh ios-player
#Builds the Xcode project, and exports the ipa file to build/
./build.sh ios
#Builds an Android apk to build/
./build.sh android
```
Notes: I have the Xcode project using my provisioning profile. In `build.fsx`, you can replace the provisioning profile ID and name to use your own.

On Windows
```
#Builds an Android apk to build\
build android
```
Notes: sorry, iOS won't work on Windows. Email Tim Cook.

# How does this work?
This is basically an empty Unity project meant to be used as a starting point. I'm using [FAKE](http://fsharp.github.io/FAKE/) installed via [NuGet](http://www.nuget.org/) as a build scripting language.

More info is on my blog:
- [Intro to FAKE](http://jonathanpeppers.com/Blog/build-all-the-things!-with-fake)
- [Building Unity projects with FAKE](http://jonathanpeppers.com/Blog/automating-unity3d-builds-with-fake)