Skip to content

Commit

Permalink
Workaround for windows luasystem 0.3 build failure (#18)
Browse files Browse the repository at this point in the history
* format rockspec

* Adjust ci

* Workaround for windows luasystem 0.3 build failure
  • Loading branch information
notomo committed Jan 3, 2024
1 parent 69a5a5f commit e0c5e54
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,4 @@ jobs:
env:
VUSTED_NVIM: ${{ steps.vim.outputs.executable }}

- run: luarocks --lua-version=5.1 install vusted
- run: vusted --version
43 changes: 22 additions & 21 deletions rockspec/vusted-x.x.x-1.rockspec
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
package = "vusted"
version = "x.x.x-1"
source = {
url = "git+https://github.com/notomo/vusted.git",
tag = "vx.x.x"
url = "git+https://github.com/notomo/vusted.git",
tag = "vx.x.x",
}
description = {
summary = "`busted` wrapper for testing neovim plugin",
detailed = "",
homepage = "https://github.com/notomo/vusted",
license = "MIT <http://opensource.org/licenses/MIT>"
summary = "`busted` wrapper for testing neovim plugin",
detailed = "",
homepage = "https://github.com/notomo/vusted",
license = "MIT <http://opensource.org/licenses/MIT>",
}
dependencies = {
"busted >= 2.2.0"
"luasystem = 0.2.1", -- Workaround for https://github.com/notomo/vusted/issues/17
"busted >= 2.2.0",
}
build = {
type = "builtin",
modules = {
["busted.outputHandlers.vusted.default"] = "lua/busted/outputHandlers/vusted/default.lua",
["vusted.assert"] = "lua/vusted/assert.lua",
["vusted.helper"] = "lua/vusted/helper.lua",
["vusted.run"] = "lua/vusted/run.lua"
},
install = {
bin = {
"bin/vusted_entry.vim",
"bin/vusted",
"bin/vusted.bat"
}
}
type = "builtin",
modules = {
["busted.outputHandlers.vusted.default"] = "lua/busted/outputHandlers/vusted/default.lua",
["vusted.assert"] = "lua/vusted/assert.lua",
["vusted.helper"] = "lua/vusted/helper.lua",
["vusted.run"] = "lua/vusted/run.lua",
},
install = {
bin = {
"bin/vusted_entry.vim",
"bin/vusted",
"bin/vusted.bat",
},
},
}

0 comments on commit e0c5e54

Please sign in to comment.