mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
10 lines
330 B
PowerShell
10 lines
330 B
PowerShell
$ErrorActionPreference = 'Stop'; # stop on all errors
|
|
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
|
|
|
$fileLocation = Join-Path $toolsDir 'serverless.exe'
|
|
|
|
Install-BinFile -Name serverless -Path $fileLocation
|
|
Install-BinFile -Name sls -Path $fileLocation
|
|
|
|
& 'serverless' 'binary-postinstall'
|