diff options
| author | OpportunityLiu <[email protected]> | 2019-06-06 18:36:21 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-06-06 18:36:21 +0800 |
| commit | a1b6a1e11a7b0dacbe718b78e80c92107e43203b (patch) | |
| tree | 535966564b59a7d42fac7a2c3459b53b3ecc2ee9 | |
| parent | 9aa7e776e2bd429962f78632e043bba2c728c46c (diff) | |
fix script
| -rw-r--r-- | .appveyor.yml | 4 | ||||
| -rw-r--r-- | scripts/get.ps1 | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 0971f9516..c410b84c8 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -10,13 +10,13 @@ platform: install: - ps: | - Invoke-Command -ScriptBlock ([ScriptBlock]::Create((Invoke-Webrequest "https://raw.githubusercontent.com/xmake-io/xmake/dev/scripts/get.ps1" -UseBasicParsing).Content)) -ArgumentList "dev" + ./scripts/get.ps1 "dev" build_script: - ps: | Get-Command xmake xmake --version - xmake run --project=core + xmake build --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 diff --git a/scripts/get.ps1 b/scripts/get.ps1 index bd706b4d4..9b500d44c 100644 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -190,5 +190,7 @@ if (-not $env:CI) { xmakeSelfBuild } catch { } # continue registerTabCompletion +} else { + Write-Host "Self bulid and tab completion registration has been skipped" } |
