Files
runner-images-sangeeth/images/win/scripts/Installers/Validate-Sbt.ps1

18 lines
520 B
PowerShell

################################################################################
## File: Validate-Sbt.ps1
## 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 ""