Skip to content

Commit

Permalink
#23 Update project targeted frameworks, tools and libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
savornicesei committed Mar 31, 2018
1 parent 08075a7 commit a5c230a
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions scripts/build-setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- downloading NUnit console runner
- downloading OpenCover
- downloading coveralls.net
- downloading SonarQube MSBuild scanner
The script is agnostic to the platform it is run on (windows, linux or mac)
.INPUTTYPE
Documentary text, eg:
Expand All @@ -16,17 +17,36 @@
Output type [Universal.SolarSystem.Planetary.Wisdom]
Appears in -full
#>
Import-Module -Name OneGet
import-module PackageManagement

function Build-Setup{
param
(
[Parameter(Mandatory = $true, HelpMessage = "Some dummy parameter.")]
[Parameter(Mandatory = $true, HelpMessage = "Operating.")]
[String]
$Name
$Os
)


}

function Check-Machine{
$checkOk = true;

if($PSVersionTable -eq $null )
{
$checkOk = false;
Write-Host -ForegroundColor Red "Powershell version should be 6 or greater. Please upgrade!"
}

return $checkOk;
}

function Install-Choco{
param
{
[Parameter(Mandatory = $true, HelpMessage = "Operating system (can be Unix, Windows or .")]
[String]
$Os
}
}

0 comments on commit a5c230a

Please sign in to comment.