aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-02-23 13:36:52 +0100
committerChristian Clason <c.clason@uni-graz.at>2025-05-12 18:43:40 +0200
commiteb1b6ec542ecc0d62d54f7b6889e2958a543499b (patch)
tree3f2bc26f4064ae3ae1fdca30c806ed43cd6bf841
parentfeat(locals)!: refactor `locals.lua` into standalone (diff)
downloadnvim-treesitter-eb1b6ec542ecc0d62d54f7b6889e2958a543499b.tar
nvim-treesitter-eb1b6ec542ecc0d62d54f7b6889e2958a543499b.tar.gz
nvim-treesitter-eb1b6ec542ecc0d62d54f7b6889e2958a543499b.tar.bz2
nvim-treesitter-eb1b6ec542ecc0d62d54f7b6889e2958a543499b.tar.lz
nvim-treesitter-eb1b6ec542ecc0d62d54f7b6889e2958a543499b.tar.xz
nvim-treesitter-eb1b6ec542ecc0d62d54f7b6889e2958a543499b.tar.zst
nvim-treesitter-eb1b6ec542ecc0d62d54f7b6889e2958a543499b.zip
feat!: drop luarocks release
-rw-r--r--.github/workflows/release.yml24
-rw-r--r--contrib/nvim-treesitter-luarocks.template41
-rw-r--r--contrib/nvim-treesitter-scm-1.rockspec36
3 files changed, 0 insertions, 101 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
deleted file mode 100644
index 11f3ffc14..000000000
--- a/.github/workflows/release.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-name: "release"
-on:
- push:
- tags: # Will upload to luarocks.org
- - "*"
- pull_request: # Will test a local install without uploading to luarocks.org
- paths:
- - 'contrib/*.rockspec'
- - .github/workflows/release.yml
-
-jobs:
- luarocks-upload:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - uses: nvim-neorocks/luarocks-tag-release@v5
- env:
- LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
- with:
- name: nvim-treesitter
- detailed_description: |
- The goal of nvim-treesitter is both to provide a simple and easy way to use the interface for tree-sitter in Neovim
- and to provide some basic functionality such as highlighting based on it.
- template: contrib/nvim-treesitter-luarocks.template
diff --git a/contrib/nvim-treesitter-luarocks.template b/contrib/nvim-treesitter-luarocks.template
deleted file mode 100644
index 8109f5f2b..000000000
--- a/contrib/nvim-treesitter-luarocks.template
+++ /dev/null
@@ -1,41 +0,0 @@
-local git_ref = '$git_ref'
-local modrev = '$modrev'
-local specrev = '-1'
-
-local repo_url = '$repo_url'
-
-rockspec_format = '3.0'
-package = '$package'
-version = modrev .. specrev
-
-description = {
- summary = 'Nvim Treesitter configurations and abstraction layer',
- detailed = $detailed_description,
- labels = { 'neovim' },
- homepage = 'https://github.com/nvim-treesitter/nvim-treesitter',
- license = 'Apache-2.0',
-}
-
-dependencies = {
- 'lua >= 5.1',
-}
-
--- source = file:///.
-
-source = {
- url = repo_url .. '/archive/' .. git_ref .. '.zip',
- dir = '$repo_name-' .. '$archive_dir_suffix',
-}
-
-build = {
- type = 'make',
- build_pass = false,
- install_variables = {
- INST_PREFIX='$(PREFIX)',
- INST_BINDIR='$(BINDIR)',
- INST_LIBDIR='$(LIBDIR)',
- INST_LUADIR='$(LUADIR)',
- INST_CONFDIR='$(CONFDIR)',
- },
- copy_directories = $copy_directories,
-}
diff --git a/contrib/nvim-treesitter-scm-1.rockspec b/contrib/nvim-treesitter-scm-1.rockspec
deleted file mode 100644
index a901c5b12..000000000
--- a/contrib/nvim-treesitter-scm-1.rockspec
+++ /dev/null
@@ -1,36 +0,0 @@
-local MODREV, SPECREV = 'scm', '-1'
-rockspec_format = '3.0'
-package = 'nvim-treesitter'
-version = MODREV .. SPECREV
-
-description = {
- summary = 'Nvim Treesitter configurations and abstraction layer',
- labels = { 'neovim' },
- homepage = 'https://github.com/nvim-treesitter/nvim-treesitter',
- license = 'Apache-2.0',
-}
-
-dependencies = {
- 'lua >= 5.1',
-}
-
-source = {
- url = 'git://github.com/nvim-treesitter/nvim-treesitter',
-}
-
-build = {
- type = 'make',
- install_variables = {
- INST_PREFIX='$(PREFIX)',
- INST_BINDIR='$(BINDIR)',
- INST_LIBDIR='$(LIBDIR)',
- INST_LUADIR='$(LUADIR)',
- INST_CONFDIR='$(CONFDIR)',
- },
- copy_directories = {
- 'autoload',
- 'doc',
- 'plugin',
- 'queries'
- }
-}