-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.ps1
More file actions
23 lines (15 loc) · 949 Bytes
/
build.ps1
File metadata and controls
23 lines (15 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$module = Get-Module -Name PSNovusTools
if (-not $module) {
Write-Error "PSNovusTools module is not installed. Trying to install ... "
try {
Install-Module -Name PSNovusTools -Scope CurrentUser -Force -ErrorAction Stop ##-Verbose
} catch {
Write-Error "Failed to install PSNovusTools: $_"
exit 1
}
}
Set-VSPackage -ProjectFile "$PWD\Source\NovusCodeLibrary.SimpleTemplate\NovusCodeLibrary.SimpleTemplate.csproj" -Version "0.4.0"
Set-VSPackage -ProjectFile "$PWD\Source\NovusCodeLibrary.JSONUtils\NovusCodeLibrary.JSONUtils.csproj" -Version "0.4.0"
Set-VSPackage -ProjectFile "$PWD\Source\NovusCodeLibrary.Exceptions\NovusCodeLibrary.Exceptions.csproj" -Version "0.4.0"
Set-VSPackage -ProjectFile "$PWD\Source\NovusCodeLibrary.WebUtils\NovusCodeLibrary.WebUtils.csproj" -Version "0.4.0"
Set-VSPackage -ProjectFile "$PWD\Source\NovusCodeLibrary.Utils\NovusCodeLibrary.Utils.csproj" -Version "0.4.0"