added build.sh script

This commit is contained in:
tic 2018-03-16 19:31:50 +03:00
parent 75b3682da2
commit fd6a7d72e1
2 changed files with 11 additions and 2 deletions

View File

@ -68,9 +68,10 @@ made by [@matheuslessarodrigues](https://github.com/matheuslessarodrigues)
## Linux
run the following commands in the Terminal
```
sudo apt-get install git build-essential libgtk-3-dev libsdl2-dev lua5.3-dev zlib1g-dev
sudo apt-get install git
git clone --recursive https://github.com/nesbox/TIC-80
make linux
cd TIC-80
./build.sh
```
## iOS / tvOS

8
build.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
##########################################################################
# build script for TIC-80
##########################################################################
sudo apt-get install build-essential mercurial make cmake autoconf automake libtool libasound2-dev libpulse-dev libaudio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxinerama-dev libxxf86vm-dev libxss-dev libgl1-mesa-dev libesd0-dev libdbus-1-dev libudev-dev libgles1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libibus-1.0-dev fcitx-libs-dev libsamplerate0-dev libsndio-dev libgtk-3-dev zlib1g-dev -y
make linux