Merge pull request #466 from nikita-bykov/bazel-support

Add Bazel support to Linux and Windows
This commit is contained in:
Alejandro Pauly
2020-02-27 10:06:24 -05:00
committed by GitHub
7 changed files with 80 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