From 55fd7149dedafdd11cf22c305a6f5529eb5e2df8 Mon Sep 17 00:00:00 2001 From: Colin Kennedy Date: Fri, 24 Jan 2025 07:58:30 -0800 Subject: [PATCH] Added missing file --- ...practices-plugin-template-1.5.4-1.rockspec | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 nvim-best-practices-plugin-template-1.5.4-1.rockspec diff --git a/nvim-best-practices-plugin-template-1.5.4-1.rockspec b/nvim-best-practices-plugin-template-1.5.4-1.rockspec new file mode 100644 index 0000000..53fd2da --- /dev/null +++ b/nvim-best-practices-plugin-template-1.5.4-1.rockspec @@ -0,0 +1,58 @@ +-- A template that will be replaced by the .github/workflows/release-luarocks.yml file +-- +-- Reference: +-- Example template https://github.com/nvim-neorocks/luarocks-tag-release/blob/master/resources/rockspec.template +-- + +local git_ref = "v1.5.4" +local modrev = "1.5.4" +local specrev = "1" + +local repo_url = "https://github.com/ColinKennedy/nvim-best-practices-plugin-template" + +rockspec_format = "3.0" +package = "nvim-best-practices-plugin-template" +version = modrev .. "-" .. specrev + +local user = "ColinKennedy" + +description = { + homepage = "https://github.com/" .. user .. "/" .. package, + labels = { "neovim", "neovim-plugin" }, + license = "MIT", + summary = 'A "Best Practices" Neovim plugin template', +} + +dependencies = { + "mega.cmdparse >= 1.0.3, < 2.0", + "mega.logging >= 1.1.4, < 2.0", + + -- TODO(you): Remove these dependencies if you don't need them + -- "lualine.nvim", -- Reference: https://luarocks.org/modules/neorocks/lualine.nvim + "telescope.nvim >= 0.1.8 < 1.0", +} + +test_dependencies = { + "busted >= 2.0, < 3.0", + "lua >= 5.1, < 6.0", + "nlua >= 0.2, < 1.0", +} + +-- Reference: https://github.com/luarocks/luarocks/wiki/test#test-types +test = { type = "busted" } + +source = { + url = repo_url .. "/archive/" .. git_ref .. ".zip", + dir = "nvim-best-practices-plugin-template-" .. "1.5.4", +} + +if modrev == "scm" or modrev == "dev" then + source = { + url = repo_url:gsub("https", "git"), + } +end + +build = { + type = "builtin", + copy_directories = { 'doc', 'plugin' } , +}