代码拉取完成,页面将自动刷新
image: Visual Studio 2022
build: off
skip_commits:
files:
- '**/*.md'
- '.vscode/**/*'
clone_folder: '%SCOOP%\buckets\Ash258'
cache:
- '%USERPROFILE%\Documents\WindowsPowerShell\Modules -> .appveyor.yml'
- 'C:\projects\helpers'
matrix:
fast_finish: true
environment:
SCOOP: C:\SCOOP
SCOOP_HOME: '%SCOOP%\apps\scoop\current'
SCOOP_BRANCH: NEW
PATH: '%SCOOP%\shims;%PATH%'
matrix:
- PowerShell: 5
init:
- ps: |
(Get-PSProvider 'FileSystem').Home = 'C:\projects\'
git clone -q --depth=1 --branch $env:SCOOP_BRANCH 'https://github.com/Ash258/Scoop-Core' "$env:SCOOP_HOME"
git clone -q --depth=1 'https://github.com/ScoopInstaller/Main' "$env:SCOOP\buckets\main"
New-Item "$env:SCOOP\shims" -ItemType Directory | Out-Null
Set-Content "$env:SCOOP\shims\shovel.ps1" @'
if (!(Test-Path Variable:PSScriptRoot)) { $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent }
$path = Join-Path "$PSScriptRoot" "../apps/scoop/current/bin/scoop.ps1"
if($MyInvocation.ExpectingInput) { $input | & $path @args } else { & $path @args }
exit $LASTEXITCODE
'@
shovel config 'dbgBypassArmCheck' $true
shovel config 'aria2-enabled' $false
shovel config 'show_update_log' $false
shovel config 'lastUpdate' '258|2421-12-18 08:50:35'
shovel --version
for:
- matrix:
only:
- PowerShell: 5
install:
- ps: . "${env:SCOOP_HOME}\test\bin\init.ps1"
test_script:
- ps: . "${env:SCOOP_HOME}\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"
on_finish:
- ps: |
$log = 'Install.log'
if (Test-Path $log) {
Get-Content $log -Raw | Write-Host
Push-AppveyorArtifact $log
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。