Skip to content

Commit 149b24a

Browse files
Matthieu Coudronkkharji
authored andcommitted
add rockspec
so that the package can be published on luarocks, describes dependencies, and can be redistributed in distributions too.
1 parent b3de8f5 commit 149b24a

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

sqlite.lua-scm-1.rockspec

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
rockspec_format = "3.0"
2+
package = 'sqlite.lua'
3+
version = 'scm-1'
4+
description = {
5+
detailed = "",
6+
homepage = "https://github.com/tami5/sqlite.lua",
7+
labels = { "sqlite3", "binding", "luajit", "database" },
8+
license = "MIT",
9+
summary = "SQLite/LuaJIT binding and a highly opinionated wrapper for storing, retrieving, caching, and persisting [SQLite] databases"
10+
}
11+
source = {
12+
url = 'git://github.com/tami5/sqlite.lua.git',
13+
tag = "master"
14+
}
15+
dependencies = {
16+
"plenary.nvim"
17+
}
18+
build = {
19+
type = "builtin",
20+
modules = {
21+
["lua.sqlite.db.lua"] = "lua/sqlite/db.lua",
22+
["lua.sqlite.defs.lua"] = "lua/sqlite/defs.lua",
23+
["lua.sqlite.helpers.lua"] = "lua/sqlite/helpers.lua",
24+
["lua.sqlite.init.lua"] = "lua/sqlite/init.lua",
25+
["lua.sqlite.json.lua"] = "lua/sqlite/json.lua",
26+
["lua.sqlite.tbl.cache.lua"] = "lua/sqlite/tbl/cache.lua",
27+
["lua.sqlite.tbl.extend.lua"] = "lua/sqlite/tbl/extend.lua",
28+
["lua.sqlite.tbl.lua"] = "lua/sqlite/tbl.lua",
29+
["lua.sqlite.utils.lua"] = "lua/sqlite/utils.lua"
30+
}
31+
}
32+
test = {
33+
type = "command",
34+
command = "make test"
35+
}
36+
37+

0 commit comments

Comments
 (0)