Skip to content

Instantly share code, notes, and snippets.

@jeduan
Last active December 20, 2015 16:48
Show Gist options
  • Save jeduan/6163713 to your computer and use it in GitHub Desktop.
Save jeduan/6163713 to your computer and use it in GitHub Desktop.
We use a bower based registry for our lua packages. These are the steps to get it working
{
"directory": "vendor",
"registry": "https://yogome-bower.herokuapp.com"
}

Requirements

If you don't already have Bower then get it by typing

npm install -g bower

Then just copy this gist’s .bowerrc and bower.json (or download them using curl) and run bower install

cd corona-game

curl -O https://raw.github.com/gist/6163713/.bowerrc
curl -O https://raw.github.com/gist/6163713/bower.json

bower install
{
"name": "Corona-Game",
"version": "1.0.0",
"main": "main.lua",
"dependencies": {
"log": "~0.1.0",
"cacharro": "~0.1.0",
"analytics-mixpanel": "~0.2.1"
},
"private": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment