Merge pull request #3 from dy-dx/vagrant-instructions

add vagrant.sh for setting up linux deps; add usage instructions
This commit is contained in:
Jordan Cristiano 2015-05-15 19:39:23 -04:00
commit 33026aa8ba
2 changed files with 33 additions and 0 deletions

View File

@ -2,3 +2,23 @@ demboyz
=======
we dem boyz
### Using Vagrant
# Launch VM
vagrant up
vagrant ssh
cd /vagrant
# Install Linux dependencies (first time setup)
./vagrant.sh
# Build demboyz
cd premake
./gmake.sh && cd gmake
make
# Disconnect session and stop VM
exit
vagrant halt

13
vagrant.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
# http://askubuntu.com/a/497033
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update
sudo apt-get install build-essential -y
sudo apt-get install gcc-4.9 g++-4.9 -y
sudo apt-get install gcc-4.9-multilib g++-4.9-multilib -y
sudo apt-get install clang-3.6++ -y
sudo ln -s /usr/bin/clang++-3.6 /usr/bin/clang++