Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Nov 20, 2024
1 parent 0e0fff0 commit 7b6e853
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,11 @@ local function install_xmake_on_unix(rockspec, xmake_variables)
if not fs.download("https://github.com/xmake-io/xmake/releases/download/v" .. version .. "/xmake-v" .. version .. ".tar.gz", store_file) then
return nil, "download xmake sources failed!"
end
print("install_xmake_on_unix 111", store_dir)

-- extract sources
local previous_dir = fs.current_dir()
print("previous_dir", previous_dir)
local ok, errors = fs.change_dir(dir.path(store_dir, "xmake-" .. version))
if not ok then
return nil, errors
Expand Down

0 comments on commit 7b6e853

Please sign in to comment.