Files
runner-images-sangeeth/images/win/scripts/Installers/Install-Sbt.ps1
Aleksandr Chebotov 0c4dca229d Replace current validates with pester testing approach #5 (#1232)
* ,oving to the pester approach part #5

* moving to the pester approach part #5

* fixed PostgreSQL tests

* return Validate-Svn.ps1

* fixed Selenium test

* fixed rust test

* fix rust test
2020-07-20 18:57:00 +03:00

19 lines
573 B
PowerShell

################################################################################
## File: Install-Sbt.ps1
## Desc: Install sbt for Windows
################################################################################
$ErrorActionPreference = "Stop"
Import-Module -Name ImageHelpers
# Install the latest version of sbt.
# See https://chocolatey.org/packages/sbt
Choco-Install -PackageName sbt
$env:SBT_HOME="${env:ProgramFiles(x86)}\sbt"
# Add sbt binaries to the path
Add-MachinePathItem "$env:SBT_HOME\bin"
Invoke-PesterTests -TestFile "Tools" -TestName "Sbt"