Skip to content

Commit

Permalink
Rockspecs.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasMatthias committed Apr 15, 2024
1 parent 0aba4cb commit 4b1b7fd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@ doc:
lua-language-server --doc ./ --doc_out_path ./
doxygen


rockspec_latest := rockspecs/$(shell ls -v rockspecs/ | tail -n2 | head -n1)
rockspec_dev := rockspecs/$(shell ls -v rockspecs/ | tail -n1)

.PHONY: install uninstall
install:
rm -f doc.md
luarocks make
luarocks make $(rockspec_latest)
install-dev:
rm -f doc.md
luarocks make $(rockspec_dev)
uninstall:
luarocks remove luals2dox

Expand Down
2 changes: 2 additions & 0 deletions rockspecs/luals2dox-0.1-1.rockspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---@diagnostic disable: lowercase-global

rockspec_format = '3.0'

package = 'luals2dox'
version = '0.1-1'
source = {
Expand Down
2 changes: 2 additions & 0 deletions rockspecs/luals2dox-0.2-1.rockspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---@diagnostic disable: lowercase-global

rockspec_format = '3.0'

package = 'luals2dox'
version = '0.2-1'
source = {
Expand Down
2 changes: 2 additions & 0 deletions rockspecs/luals2dox-scm-1.rockspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---@diagnostic disable: lowercase-global

rockspec_format = '3.0'

package = 'luals2dox'
version = 'scm-1'
source = {
Expand Down

0 comments on commit 4b1b7fd

Please sign in to comment.