From e3183366f6048d93e5a6df1868fc60df75447168 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 13 Feb 2020 21:51:12 +0800 Subject: fix rockspec. --- moonplus-dev-1.rockspec | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 moonplus-dev-1.rockspec (limited to 'moonplus-dev-1.rockspec') diff --git a/moonplus-dev-1.rockspec b/moonplus-dev-1.rockspec new file mode 100644 index 0000000..a0f7367 --- /dev/null +++ b/moonplus-dev-1.rockspec @@ -0,0 +1,30 @@ +rockspec_format = "3.0" +package = "MoonPlus" +version = "dev-1" +source = { + url = "git+https://github.com/pigpigyyy/MoonPlus" +} +description = { + summary = "MoonPlus is a compiler for Moonscript written in C++.", + detailed = [[ + MoonPlus is a compiler with features from Moonscript language 0.5.0 and implementing new features to make Moonscript more up to date. ]], + homepage = "https://github.com/pigpigyyy/MoonPlus", + maintainer = "Li Jin ", + labels = {"moonscript","cpp","transpiler"}, + license = "MIT" +} +dependencies = { + "lua >= 5.1", +} +build = { + type = "cmake", + variables = { + LUA_INCDIR="$(LUA_INCDIR)", + LUA="$(LUA)", + }, + install = { + lib = { + "build.luarocks/moonp.so" + } + } +} -- cgit v1.2.3-55-g6feb