File tree Expand file tree Collapse file tree 5 files changed +17
-3
lines changed
Expand file tree Collapse file tree 5 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,11 @@ function Get-MsbuildVersion {
8888 return " MSBuild $msbuildVersion (from $msbuildPath )"
8989}
9090
91+ function Get-NuGetVersion {
92+ $nugetVersion = nuget help | Select-Object - First 1 | Take- OutputPart - Part 2
93+ return " NuGet $nugetVersion "
94+ }
95+
9196function Get-NodeVersion {
9297 $nodeVersion = $ (node -- version).Substring(1 )
9398 return " Node $nodeVersion "
Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ $runtimesList = @(
4242 (Get-DashVersion ),
4343 (Get-CPPVersions ),
4444 (Get-FortranVersions ),
45+ (Get-MsbuildVersion ),
46+ (Get-MonoVersion ),
4547 (Get-NodeVersion ),
4648 (Get-PerlVersion ),
4749 (Get-PythonVersion ),
@@ -56,8 +58,6 @@ $runtimesList = @(
5658
5759if ((Test-IsUbuntu18 ) -or (Test-IsUbuntu20 )) {
5860 $runtimesList += @ (
59- (Get-MsbuildVersion ),
60- (Get-MonoVersion ),
6161 (Get-ErlangVersion ),
6262 (Get-ErlangRebar3Version ),
6363 (Get-SwiftVersion )
@@ -73,6 +73,7 @@ $packageManagementList = @(
7373 (Get-CpanVersion ),
7474 (Get-GemVersion ),
7575 (Get-MinicondaVersion ),
76+ (Get-NuGetVersion ),
7677 (Get-HelmVersion ),
7778 (Get-NpmVersion ),
7879 (Get-YarnVersion ),
Original file line number Diff line number Diff line change 44# # Desc: Installs Mono
55# ###############################################################################
66
7+ source $HELPER_SCRIPTS /os.sh
8+
79LSB_CODENAME=$( lsb_release -cs)
810
11+ # There are no packages for Ubuntu 22 in the repo, but developers confirmed that packages from Ubuntu 20 should work
12+ if isUbuntu22; then
13+ LSB_CODENAME=" focal"
14+ fi
15+
916# Test to see if the software in question is already installed, if not install it
1017# wget "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" -O out && sudo apt-key add out && rm out
1118
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ Describe "gfortran" {
168168 }
169169}
170170
171- Describe " Mono" - Skip:( Test-IsUbuntu22 ) {
171+ Describe " Mono" {
172172 It " mono" {
173173 " mono --version" | Should - ReturnZeroExitCode
174174 }
Original file line number Diff line number Diff line change @@ -300,6 +300,7 @@ build {
300300 " ${ path . root } /scripts/installers/oc.sh" ,
301301 " ${ path . root } /scripts/installers/leiningen.sh" ,
302302 " ${ path . root } /scripts/installers/miniconda.sh" ,
303+ " ${ path . root } /scripts/installers/mono.sh" ,
303304 " ${ path . root } /scripts/installers/kotlin.sh" ,
304305 " ${ path . root } /scripts/installers/mysql.sh" ,
305306 " ${ path . root } /scripts/installers/sqlpackage.sh" ,
You can’t perform that action at this time.
0 commit comments