Files
runner-images/images/win/scripts/Installers/Validate-Sbt.ps1
Shady Ibraheem f396818e23 Inital commit.
2019-11-15 15:38:01 -05:00

19 lines
561 B
PowerShell

################################################################################
## File: Validate-Sbt.ps1
## Team: CI-Platform
## Desc: Validate sbt for Windows
################################################################################
if((Get-Command -Name 'sbt'))
{
Write-Host "sbt is on the path"
}
else
{
Write-Host "sbt is not on path."
exit 1
}
# This works around issue where sbt --script-version does some copies and breaks the build
Add-SoftwareDetailsToMarkdown -SoftwareName "sbt" -DescriptionMarkdown ""