Skip to content

Commit

Permalink
chore: Release v3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Dec 12, 2023
1 parent 67db5ca commit 28ba7d6
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
48 changes: 48 additions & 0 deletions rockspecs/lua_cliargs-3.0.2-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
local package_name = "lua_cliargs"
local package_version = "3.0.2"
local rockspec_revision = "1"
local github_account_name = "lunarmodules"
local github_repo_name = package_name

package = package_name
version = package_version .. "-" .. rockspec_revision

source = {
url = "git+https://github.com/" .. github_account_name .. "/" .. github_repo_name .. ".git"
}
if package_version == "dev" then source.branch = "master" else source.tag = "v" .. package_version end

description = {
summary = "A command-line argument parsing module for Lua",
detailed = [[
This module adds support for accepting CLI arguments easily using multiple
notations and argument types.
cliargs allows you to define required, optional, and flag arguments.
]],
license = "MIT"
}

dependencies = {
"lua >= 5.1"
}

build = {
type = "builtin",
modules = {
["cliargs"] = "src/cliargs.lua",
["cliargs.config_loader"] = "src/cliargs/config_loader.lua",
["cliargs.constants"] = "src/cliargs/constants.lua",
["cliargs.core"] = "src/cliargs/core.lua",
["cliargs.parser"] = "src/cliargs/parser.lua",
["cliargs.printer"] = "src/cliargs/printer.lua",
["cliargs.utils.disect"] = "src/cliargs/utils/disect.lua",
["cliargs.utils.disect_argument"] = "src/cliargs/utils/disect_argument.lua",
["cliargs.utils.filter"] = "src/cliargs/utils/filter.lua",
["cliargs.utils.lookup"] = "src/cliargs/utils/lookup.lua",
["cliargs.utils.shallow_copy"] = "src/cliargs/utils/shallow_copy.lua",
["cliargs.utils.split"] = "src/cliargs/utils/split.lua",
["cliargs.utils.trim"] = "src/cliargs/utils/trim.lua",
["cliargs.utils.wordwrap"] = "src/cliargs/utils/wordwrap.lua",
}
}
2 changes: 1 addition & 1 deletion src/cliargs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ function cli:cleanup()
cli = nil
end

cli.VERSION = "3.0"
cli.VERSION = "3.0.2"

return cli

0 comments on commit 28ba7d6

Please sign in to comment.