From 78fbcdf0ebd350643da2ac8f42589adae9b2a4e0 Mon Sep 17 00:00:00 2001 From: OpportunityLiu Date: Thu, 6 Jun 2019 17:32:24 +0800 Subject: not for ci --- .appveyor.yml | 7 ++++--- scripts/get.ps1 | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 997303306..0971f9516 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -14,10 +14,11 @@ install: build_script: - ps: | + Get-Command xmake xmake --version - xmake -P core - $env:XMAKE_PROGRAM_DIR = Join-Path $(Get-Location) "xmake" + xmake run --project=core .\core\build\xmake.exe --version + Set-AppveyorBuildVariable -Name XMAKE_PROGRAM_DIR -Value $(Join-Path $(Get-Location) "xmake") Copy-Item -Force core\build\xmake.exe $HOME\xmake after_build: @@ -29,5 +30,5 @@ test_script: - ps: | Get-Command xmake xmake --version - xmake lua -v -D tests\test.lua + xmake lua --verbose --diagnosis tests\test.lua diff --git a/scripts/get.ps1 b/scripts/get.ps1 index 4b186c23f..5e8463bc2 100644 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -169,6 +169,7 @@ param ( Remove-Item "$repodir" -Recurse -Force -ErrorAction SilentlyContinue } - registerTabCompletion - + if (-not $env:CI) { + registerTabCompletion + } } -- cgit v1.3.1