Added Bazel for Windows

This commit is contained in:
Nikita Bykov
2020-02-26 10:44:10 +03:00
parent b05ca822c2
commit 7dcfbe46b8
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
################################################################################
## File: Install-Bazel.ps1
## Desc: Install Bazel
################################################################################
choco install bazel -y

View File

@@ -0,0 +1,23 @@
################################################################################
## File: Validate-Bazel.ps1
## Desc: Validate Bazel
################################################################################
if (Get-Command -Name 'bazel')
{
Write-Host "bazel on path"
}
else
{
Write-Host 'bazel is not on path'
exit 1
}
# Adding description of the software to Markdown
$SoftwareName = "bazel"
$Description = @"
_Version:_ $(bazel --version)<br/>
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description