aboutsummaryrefslogtreecommitdiff
path: root/glum-0.3-1.rockspec
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2020-08-21 12:45:19 -0400
committerAlexander Pickering <alex@cogarr.net>2020-08-21 12:45:19 -0400
commitb38df089cc2c4694c542e97e9b990a6fda65643b (patch)
treea1ad2013e244bd544d3cab3283d7d0905f5fc6f8 /glum-0.3-1.rockspec
parentf72a03a6c94ade961031db162820f2786795b974 (diff)
downloadglum-b38df089cc2c4694c542e97e9b990a6fda65643b.tar.gz
glum-b38df089cc2c4694c542e97e9b990a6fda65643b.tar.bz2
glum-b38df089cc2c4694c542e97e9b990a6fda65643b.zip
Add rockspec
Add a rockspec for easy packaging
Diffstat (limited to 'glum-0.3-1.rockspec')
-rw-r--r--glum-0.3-1.rockspec32
1 files changed, 32 insertions, 0 deletions
diff --git a/glum-0.3-1.rockspec b/glum-0.3-1.rockspec
new file mode 100644
index 0000000..68f0f44
--- /dev/null
+++ b/glum-0.3-1.rockspec
@@ -0,0 +1,32 @@
+package = "glum"
+version = "0.3-1"
+source = {
+ url = "git+https://cogarr.net/source/cgit.cgi/glum"
+}
+description = {
+ summary = "Lua minifieir",
+ detailed = [[
+ A basic lua minifier, with some optimizations
+ and simplifications.
+ ]],
+ homepage = "https://cogarr.net/source/cgit.cgi/glum/about",
+ license = "MIT"
+}
+dependencies = {
+ "lua >= 5.1",
+ "lua-parser >= 1.0.0",
+}
+build = {
+ type = "builtin",
+ modules = {
+ ["glum"] = "src/glum.lua",
+ ["glum.ast_opts"] = "src/ast_opts.lua",
+ ["glum.uglify"] = "src/uglify.lua",
+ },
+ install = {
+ bin = {
+ ["glum"] = "src/minify.lua"
+ }
+ }
+}
+