Skip to content

Commit

Permalink
Added missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinKennedy committed Jan 24, 2025
1 parent b8146b3 commit 55fd714
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions nvim-best-practices-plugin-template-1.5.4-1.rockspec
Original file line number Diff line number Diff line change
@@ -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' } ,
}

0 comments on commit 55fd714

Please sign in to comment.