File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed 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
You can’t perform that action at this time.
0 commit comments