From b38df089cc2c4694c542e97e9b990a6fda65643b Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Fri, 21 Aug 2020 12:45:19 -0400 Subject: Add rockspec Add a rockspec for easy packaging --- glum-0.3-1.rockspec | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 glum-0.3-1.rockspec (limited to 'glum-0.3-1.rockspec') 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" + } + } +} + -- cgit v1.2.3-70-g09d2