Skip to content

Commit

Permalink
fix: add --tree . to luarocks init before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed May 24, 2024
1 parent a6d21d3 commit a5ef7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/luarocks-tag-release.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ local function luarocks_tag_release(package_name, package_version, specrev, args
---@return nil
local function luarocks_test(interpreter)
print('Initialising luarocks project...')
OS.execute('luarocks init' .. luarocks_extra_flags_and_args, print)
OS.execute('luarocks --tree . init' .. luarocks_extra_flags_and_args, print)
print('Done.')
print('Configuring luarocks to use interpreter ' .. interpreter .. '...')
OS.execute('luarocks config --scope project lua_interpreter ' .. interpreter .. luarocks_extra_flags_and_args)
Expand Down

0 comments on commit a5ef7e6

Please sign in to comment.