forked from freeorion/freeorion-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.command
executable file
·27 lines (27 loc) · 1.03 KB
/
bootstrap.command
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
shopt -s dotglob
echo '----------------------------------------------------'
echo ' FreeOrion Mac OSX SDK bootstrapper '
echo '----------------------------------------------------'
echo 'For help on compiling FreeOrion go the Wiki:'
echo 'http://freeorion.org/index.php/Compile_In_Mac_OS_X'
echo 'Note: Xcode 6.4 or later required to use the SDK'
echo '----------------------------------------------------'
echo 'Cloning the FreeOrion repository from GitHub...'
cd "$(dirname "$0")"
git clone https://github.com/freeorion/freeorion.git temp
mv temp/* ./
rmdir temp
echo 'Done.'
echo '----------------------------------------------------'
echo 'Unzipping dependencies...'
tar -xjf dep.tar.bz2 -C Xcode
echo 'Done.'
echo 'Removing archive...'
rm dep.tar.bz2
echo '----------------------------------------------------'
echo 'To update your local repo later use your git client'
echo 'The Xcode project is located at:'
echo "$(dirname "$0")/Xcode/FreeOrion.xcodeproj"
echo 'Have fun while developing! :D'
rm bootstrap.command