1f2c63f7c5
PR checks / web (pull_request) Successful in 40s
PR checks / java (pull_request) Successful in 1m21s
Main: tests, deploy, autotests / web (push) Successful in 31s
Main: tests, deploy, autotests / images-web (push) Successful in 30s
Main: tests, deploy, autotests / java (push) Successful in 1m25s
Main: tests, deploy, autotests / images-app (push) Successful in 1m47s
Main: tests, deploy, autotests / deploy (push) Successful in 1m32s
Main: tests, deploy, autotests / autotests (push) Successful in 39s
Main: tests, deploy, autotests / rollback (push) Has been skipped
17 lines
891 B
PowerShell
17 lines
891 B
PowerShell
# Скачивает mise в .\.mise\bin (без установки в систему) и ставит инструменты проекта.
|
|
$ErrorActionPreference = 'Stop'
|
|
$version = '2026.10.19'
|
|
$root = $PSScriptRoot
|
|
$zip = Join-Path $env:TEMP 'mise-bootstrap.zip'
|
|
$tmp = Join-Path $env:TEMP 'mise-bootstrap'
|
|
Invoke-WebRequest "https://github.com/jdx/mise/releases/download/v$version/mise-v$version-windows-x64.zip" -OutFile $zip
|
|
Remove-Item -Recurse -Force $tmp -ErrorAction SilentlyContinue
|
|
Expand-Archive -Path $zip -DestinationPath $tmp
|
|
$bin = Join-Path $root '.mise\bin'
|
|
New-Item -ItemType Directory -Force -Path $bin | Out-Null
|
|
Move-Item -Force (Join-Path $tmp 'mise\bin\mise.exe') (Join-Path $bin 'mise.exe')
|
|
& (Join-Path $bin 'mise.exe') trust
|
|
& (Join-Path $bin 'mise.exe') install
|
|
& (Join-Path $bin 'mise.exe') run web-install
|
|
Write-Host 'готово: .\mise.ps1 run verify'
|