forked from codingminecraft/StreamMinecraftClone
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·27 lines (25 loc) · 1.23 KB
/
build.sh
File metadata and controls
executable file
·27 lines (25 loc) · 1.23 KB
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
if [[ $# > 0 && $1 != 'help' && $1 != 'h' ]]; then
# Build the project files
vendor/premake5 $1
if [ ! -e Minecraft/vendor/freetype ]; then
echo 'Downloading any libraries required.'
./vendor/Bootstrap/Bootstrap
fi
else
echo
echo -e 'Enter "build.bat action" where action is one of the following:'
echo
echo -e '\tcodelite Generate CodeLite project files'
echo -e '\tgmake Generate GNU makefiles for Linux using gcc'
echo -e '\tgmake2 Generate GNU makefiles for Linux using g++'
echo -e '\tvs2005 Generate Visual Studio 2005 project files'
echo -e '\tvs2008 Generate Visual Studio 2008 project files'
echo -e '\tvs2010 Generate Visual Studio 2010 project files'
echo -e '\tvs2012 Generate Visual Studio 2012 project files'
echo -e '\tvs2013 Generate Visual Studio 2013 project files'
echo -e '\tvs2015 Generate Visual Studio 2015 project files'
echo -e '\tvs2017 Generate Visual Studio 2017 project files'
echo -e '\tvs2019 Generate Visual Studio 2019 project files'
echo -e '\txcode4 Generate Apple Xcode 4 project files'
fi