From 501424469ac2e0db35a516467637024fac60765f Mon Sep 17 00:00:00 2001 From: nucular Date: Tue, 1 Mar 2016 20:24:35 +0100 Subject: [PATCH] Added RockSpec; Moved demo application; README fixes --- .gitmodules | 2 +- README.md | 12 ++++++++++-- conf.lua => demo/conf.lua | 0 loveframes => demo/loveframes | 0 main.lua => demo/main.lua | 0 rockspec/sfxrlua-scm-1.rockspec | 25 +++++++++++++++++++++++++ 6 files changed, 36 insertions(+), 3 deletions(-) rename conf.lua => demo/conf.lua (100%) rename loveframes => demo/loveframes (100%) rename main.lua => demo/main.lua (100%) create mode 100644 rockspec/sfxrlua-scm-1.rockspec diff --git a/.gitmodules b/.gitmodules index db4e78a..e4ad5eb 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "loveframes"] - path = loveframes + path = demo/loveframes url = https://github.com/NikolaiResokav/LoveFrames diff --git a/README.md b/README.md index 1dc1f3c..9a792bd 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,18 @@ sfxr.lua ======== -[![Build Status](https://travis-ci.org/nucular/sfxrlua.svg?branch=master)](https://travis-ci.org/nucular/sfxrlua) A port of the sfxr sound effect synthesizer to pure Lua, designed to be used -together with the *awesome* Löve game framework. +together with the *awesome* [LÖVE](https://love2d.org) game framework. +Demo +---- + +To run the demo application you first need to download +[LoveFrames](https://github.com/NikolaiResokav/LoveFrames) as a submodule: +``` +git submodule init +love demo +``` Example usage ------------- diff --git a/conf.lua b/demo/conf.lua similarity index 100% rename from conf.lua rename to demo/conf.lua diff --git a/loveframes b/demo/loveframes similarity index 100% rename from loveframes rename to demo/loveframes diff --git a/main.lua b/demo/main.lua similarity index 100% rename from main.lua rename to demo/main.lua diff --git a/rockspec/sfxrlua-scm-1.rockspec b/rockspec/sfxrlua-scm-1.rockspec new file mode 100644 index 0000000..81ac1fd --- /dev/null +++ b/rockspec/sfxrlua-scm-1.rockspec @@ -0,0 +1,25 @@ +package = "sfxrlua" +version = "scm-1" +source = { + url = "git://github.com/nucular/sfxrlua", + branch = "master" +} +description = { + summary = "A port of the sfxr sound effect synthesizer to Lua", + detailed = [[ + A port of the sfxr sound effect synthesizer to pure Lua, designed to be used + together with the awesome LÖVE game framework. + ]], + homepage = "https://github.com/nucular/sfxrlua", + license = "MIT/X11" +} +dependencies = { + "lua ~> 5.1" + -- bitop? +} +build = { + type = "builtin", + modules = { + "sfxr" = "sfxr.lua" + } +}