Added Bazel for Windows
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
################################################################################
|
||||||
|
## File: Install-Bazel.ps1
|
||||||
|
## Desc: Install Bazel
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
choco install bazel -y
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user