Merge pull request #386 from SaschaMann/julia

Add Julia 1.3.1
This commit is contained in:
Alejandro Pauly
2020-02-24 09:57:51 -05:00
committed by GitHub
3 changed files with 93 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
################################################################################
## File: Install-Julia.ps1
## Desc: Install Julia
################################################################################
choco install julia -y --ia "/D=C:\Julia"

View File

@@ -0,0 +1,25 @@
################################################################################
## File: Validate-Julia.ps1
## Desc: Validate Julia
################################################################################
# Verify that julia.exe is on the path
if(Get-Command -Name 'julia')
{
Write-Host "$(julia --version) is on the path."
}
else
{
Write-Host "Julia is not on the path."
exit 1
}
# Add description of the software to Markdown
$SoftwareName = "Julia (x64)"
$juliaVersion = $(julia --version).split() -match "\d+\.\d+\.\d+"
$Description = @"
_Version:_ $juliaVersion<br/>
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description