File tree Expand file tree Collapse file tree 4 files changed +79
-1
lines changed
Expand file tree Collapse file tree 4 files changed +79
-1
lines changed Original file line number Diff line number Diff line change 1+ language : objective-c
2+ osx_image : xcode8.3
3+ rvm :
4+ - 2.2
5+ before_install :
6+ - chmod a+x ./install.sh
7+ - chmod a+x ./build.sh
8+ install :
9+ - ./install.sh
10+ script :
11+ - ./build.sh
12+ notifications :
13+ email : false
Original file line number Diff line number Diff line change 11<!-- - This Readme was made using Dillinger online markdown editor https://dillinger.io/--->
2-
2+ [ ![ Build Status ] ( https://travis-ci.org/MystikalPooka/Unity-Visual-Behavior-Tree.svg?branch=master )] ( https://travis-ci.org/MystikalPooka/Unity-Visual-Behavior-Tree )
33# Unity-Visual-Behavior-Tree
44Visual Scripting Behavior Tree Tool for Unity 2017.3.x
55
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ project=" unity-visual-behavior-tree"
4+
5+ echo " Attempting to build $project for Windows"
6+ /Applications/Unity/Unity.app/Contents/MacOS/Unity \
7+ -batchmode \
8+ -nographics \
9+ -silent-crashes \
10+ -logFile $( pwd) /unity.log \
11+ -projectPath $( pwd) \
12+ -buildWindowsPlayer " $( pwd) /Build/windows/$project .exe" \
13+ -quit
14+
15+ echo " Attempting to build $project for OS X"
16+ /Applications/Unity/Unity.app/Contents/MacOS/Unity \
17+ -batchmode \
18+ -nographics \
19+ -silent-crashes \
20+ -logFile $( pwd) /unity.log \
21+ -projectPath $( pwd) \
22+ -buildOSXUniversalPlayer " $( pwd) /Build/osx/$project .app" \
23+ -quit
24+
25+ echo " Attempting to build $project for Linux"
26+ /Applications/Unity/Unity.app/Contents/MacOS/Unity \
27+ -batchmode \
28+ -nographics \
29+ -silent-crashes \
30+ -logFile $( pwd) /unity.log \
31+ -projectPath $( pwd) \
32+ -buildLinuxUniversalPlayer " $( pwd) /Build/linux/$project .exe" \
33+ -quit
34+
35+ echo ' Logs from build'
36+ cat $( pwd) /unity.log
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ BASE_URL=http://netstorage.unity3d.com/unity
4+ HASH=fc1d3344e6ea
5+ VERSION=2017.3.1f1
6+
7+ download () {
8+ file=$1
9+ url=" $BASE_URL /$HASH /$package "
10+
11+ echo " Downloading from $url : "
12+ curl -o ` basename " $package " ` " $url "
13+ }
14+
15+ install () {
16+ package=$1
17+ download " $package "
18+
19+ echo " Installing " ` basename " $package " `
20+ sudo installer -dumplog -package ` basename " $package " ` -target /
21+ }
22+
23+ # See $BASE_URL/$HASH/unity-$VERSION-$PLATFORM.ini for complete list
24+ # of available packages, where PLATFORM is `osx` or `win`
25+
26+ install " MacEditorInstaller/Unity-$VERSION .pkg"
27+ install " MacEditorTargetInstaller/UnitySetup-Windows-Support-for-Editor-$VERSION .pkg"
28+ install " MacEditorTargetInstaller/UnitySetup-Mac-Support-for-Editor-$VERSION .pkg"
29+ install " MacEditorTargetInstaller/UnitySetup-Linux-Support-for-Editor-$VERSION .pkg"
You can’t perform that action at this time.
0 commit comments