diff options
| author | ruki <[email protected]> | 2019-08-24 09:54:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-08-24 09:54:15 +0800 |
| commit | 250471f53bfdb59fb898b2fd338e2156c2225859 (patch) | |
| tree | e6d71476eba459b6681144ccfe5227ab99a9b89b | |
| parent | 1305c501fe88c18931c7a13ff33f48d52a796d00 (diff) | |
update appveyor
| -rw-r--r-- | .appveyor.yml | 5 | ||||
| -rw-r--r-- | xmake/modules/private/utils/bcsave.lua | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 11d509f0b..af3ff0e82 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -49,6 +49,11 @@ build_script: - ps: Set-AppveyorBuildVariable -Name XMAKE_PROGRAM_DIR -Value $(Resolve-Path ./xmake) - ps: Copy-Item -Force .\core\build\xmake.exe $(Get-Command xmake).Path - ps: (Get-Command xmake).FileVersionInfo.ProductVersion + # use bitcodes + - ps: xmake l private.utils.bcsave bcxmake xmake + - ps: Remove-Item xmake -Recurse + - ps: Rename-Item bcxmake xmake + - ps: (Get-Command xmake).FileVersionInfo.ProductVersion after_build: # publish exe diff --git a/xmake/modules/private/utils/bcsave.lua b/xmake/modules/private/utils/bcsave.lua index 041bd9a8f..7aeeb4bef 100644 --- a/xmake/modules/private/utils/bcsave.lua +++ b/xmake/modules/private/utils/bcsave.lua @@ -38,7 +38,8 @@ function save(sourcedir, outputdir, opt) -- init source directory and options opt = opt or {} - sourcedir = sourcedir or os.programdir() + sourcedir = path.absolute(sourcedir or os.programdir()) + outputdir = path.absolute(outputdir) assert(os.isdir(sourcedir), "%s not found!", sourcedir) -- trace |
