-
First up, to get the code, you'll need git installed.
brew install git
-
Now get the code
git clone [email protected]:twlevelup/lu-lua.git
-
You'll also need a version of gcc installed, so you'll need to install XCode with it's command line tools.
-
Install Lua & Luarocks via homebrew (if you're not using homebrew, you probably should be):
brew install lua brew install luarocks
-
Install LÖVE to your applications folder.
-
Add an alias in your ~/.bash_profile (or your shell of choice's config) to LÖVE:
alias love="/Applications/love.app/Contents/MacOS/love"
-
Install Busted:
sudo luarocks install busted
If you're not on a recent version of your distro, you probably should install luarocks manually - check out the luarocks site for instructions.
-
Now get the code
git clone [email protected]:twlevelup/lu-lua.git
-
Install Busted:
sudo luarocks install busted
You may also be able to get set up via our script though it is untested for general use so your mileage may vary. From the project root, you can try your luck with:
./setup/install.sh
We don't use Windows, so you're on your own. We recommend checking out the Lua website, the Loverocks website, and the LÖVE website for more information. Google is also your friend.
Now after cd'ing into the project directory, you should be able to run your tests. Running
busted
should output something like:
●●●●●●●●●●●●●●●●●●●●●
21 successes / 0 failures / 0 pending : 0.004726 seconds.
You should also be able to run:
love .
and see a happy little nyancat.