diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2021-04-27 11:02:49 +0300 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2021-04-27 11:12:46 +0300 |
commit | 00f79a6823d4a53337ac21e3e7d8b9739a24be85 (patch) | |
tree | d12467b7745fd96caf5e9a75ec099e12779d74c0 /penlight-dev-1.rockspec | |
parent | 50e959d622e51a90c634f167204d2c75a58b6061 (diff) |
release 1.10.0
Diffstat (limited to 'penlight-dev-1.rockspec')
-rw-r--r-- | penlight-dev-1.rockspec | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/penlight-dev-1.rockspec b/penlight-dev-1.rockspec index b02570f..343bfcb 100644 --- a/penlight-dev-1.rockspec +++ b/penlight-dev-1.rockspec @@ -1,10 +1,18 @@ +local package_name = "penlight" +local package_version = "dev" +local rockspec_revision = "1" +local github_account_name = "lunarmodules" +local github_repo_name = package_name +local git_checkout = package_version == "dev" and "master" or package_version + + rockspec_format = "3.0" -package = "penlight" -version = "dev-1" +package = package_name +version = package_version .. "-" .. rockspec_revision source = { - url = "git://github.com/lunarmodules/Penlight.git", - branch = "master" + url = "git://github.com/"..github_account_name.."/"..github_repo_name..".git", + branch = git_checkout } description = { @@ -16,8 +24,8 @@ description = { Much of the functionality is inspired by the Python standard libraries. ]], license = "MIT/X11", - homepage = "https://lunarmodules.github.io/Penlight", - issues_url = "https://github.com/lunarmodules/Penlight/issues", + homepage = "https://"..github_account_name..".github.io/"..github_repo_name, + issues_url = "https://github.com/"..github_account_name.."/"..github_repo_name.."/issues", maintainer = "thijs@thijsschreijer.nl", } |