diff options
| author | Li Jin <dragon-fly@qq.com> | 2020-02-13 21:51:12 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2020-02-13 21:51:12 +0800 |
| commit | e3183366f6048d93e5a6df1868fc60df75447168 (patch) | |
| tree | 64ef316abb1aba0983c836288ff322c018ec791f /moonplus-dev-1.rockspec | |
| parent | b06a818e78d1a26c34f2c87f607e78ad156e4921 (diff) | |
| download | yuescript-e3183366f6048d93e5a6df1868fc60df75447168.tar.gz yuescript-e3183366f6048d93e5a6df1868fc60df75447168.tar.bz2 yuescript-e3183366f6048d93e5a6df1868fc60df75447168.zip | |
fix rockspec.
Diffstat (limited to 'moonplus-dev-1.rockspec')
| -rw-r--r-- | moonplus-dev-1.rockspec | 30 |
1 files changed, 30 insertions, 0 deletions
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 @@ | |||
| 1 | rockspec_format = "3.0" | ||
| 2 | package = "MoonPlus" | ||
| 3 | version = "dev-1" | ||
| 4 | source = { | ||
| 5 | url = "git+https://github.com/pigpigyyy/MoonPlus" | ||
| 6 | } | ||
| 7 | description = { | ||
| 8 | summary = "MoonPlus is a compiler for Moonscript written in C++.", | ||
| 9 | detailed = [[ | ||
| 10 | MoonPlus is a compiler with features from Moonscript language 0.5.0 and implementing new features to make Moonscript more up to date. ]], | ||
| 11 | homepage = "https://github.com/pigpigyyy/MoonPlus", | ||
| 12 | maintainer = "Li Jin <dragon-fly@qq.com>", | ||
| 13 | labels = {"moonscript","cpp","transpiler"}, | ||
| 14 | license = "MIT" | ||
| 15 | } | ||
| 16 | dependencies = { | ||
| 17 | "lua >= 5.1", | ||
| 18 | } | ||
| 19 | build = { | ||
| 20 | type = "cmake", | ||
| 21 | variables = { | ||
| 22 | LUA_INCDIR="$(LUA_INCDIR)", | ||
| 23 | LUA="$(LUA)", | ||
| 24 | }, | ||
| 25 | install = { | ||
| 26 | lib = { | ||
| 27 | "build.luarocks/moonp.so" | ||
| 28 | } | ||
| 29 | } | ||
| 30 | } | ||
