summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-06-06 17:32:24 +0800
committerOpportunityLiu <[email protected]>2019-06-06 17:32:24 +0800
commit78fbcdf0ebd350643da2ac8f42589adae9b2a4e0 (patch)
treed788856d470def098da83842740165d89bda7e7e
parentf9f50db9fffbd4dde056c238677d3aeaad226fe7 (diff)
not for ci
-rw-r--r--.appveyor.yml7
-rw-r--r--scripts/get.ps15
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
+ }
}