Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jonathanpeppers/unitybuild
- Owner: jonathanpeppers
- License: apache-2.0
- Created: 2015-09-12T23:36:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-21T12:49:08.000Z (over 9 years ago)
- Last Synced: 2024-05-02T05:51:16.650Z (9 months ago)
- Topics: build, build-automation, fake, unity, unity3d
- Language: C#
- Size: 6.52 MB
- Stars: 24
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UnityBuild
Example project showing automated builds with Unity3DNote, 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)