Skip to content

Commit dda7b3a

Browse files
DaviCopilot
andcommitted
chore: add help module to rockspec and update gitignore
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a589dc1 commit dda7b3a

3 files changed

Lines changed: 46 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ luac.out
4747
/lua
4848
/lua_modules
4949
/.luarocks
50+
.pudimserver_initialized

rockspecs/pudimserver-0.1.0-1.rockspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ build = {
3737
["PudimServer.ServerChecks"] = "PudimServer/ServerChecks.lua",
3838
["PudimServer.cors"] = "PudimServer/cors.lua",
3939
["PudimServer.pipeline"] = "PudimServer/pipeline.lua",
40-
["PudimServer.cache"] = "PudimServer/cache.lua"
40+
["PudimServer.cache"] = "PudimServer/cache.lua",
41+
["PudimServer.help"] = "PudimServer/help.lua"
4142
},
4243
copy_directories = {}
4344
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
rockspec_format = "3.0"
2+
package = "PudimServer"
3+
version = "0.2.0-1"
4+
5+
source = {
6+
url = "git://github.com/pessoa736/PudimServerAPIs.git",
7+
tag = "v0.2.0"
8+
}
9+
10+
description = {
11+
summary = "Create simple, lightweight and customizable HTTP servers",
12+
detailed = [[
13+
Pudim Server is a Lua library focused on providing simple APIs
14+
for creating web servers with a routing system. It's designed to
15+
accept HTTP requests, parse them, dispatch to a handler, and
16+
return a response.
17+
]],
18+
homepage = "https://github.com/pessoa736/PudimServerAPIs",
19+
license = "MIT",
20+
maintainer = "Davi <pessoa736@github.com>",
21+
labels = { "http", "server", "web", "routing", "api" }
22+
}
23+
24+
dependencies = {
25+
"lua >= 5.4",
26+
"luasocket",
27+
"lua-cjson",
28+
"loglua"
29+
}
30+
31+
build = {
32+
type = "builtin",
33+
modules = {
34+
["PudimServer"] = "PudimServer/init.lua",
35+
["PudimServer.http"] = "PudimServer/http.lua",
36+
["PudimServer.utils"] = "PudimServer/utils.lua",
37+
["PudimServer.ServerChecks"] = "PudimServer/ServerChecks.lua",
38+
["PudimServer.cors"] = "PudimServer/cors.lua",
39+
["PudimServer.pipeline"] = "PudimServer/pipeline.lua",
40+
["PudimServer.cache"] = "PudimServer/cache.lua"
41+
},
42+
copy_directories = {}
43+
}

0 commit comments

Comments
 (0)