Built base module structure
This commit is contained in:
21
build.ps1
Normal file
21
build.ps1
Normal file
@@ -0,0 +1,21 @@
|
||||
<#
|
||||
.Description
|
||||
Installs and loads all the required modules for the build.
|
||||
.Author
|
||||
Warren F. (RamblingCookieMonster)
|
||||
#>
|
||||
|
||||
[cmdletbinding()]
|
||||
param ($Task = 'Default')
|
||||
|
||||
# Grab nuget bits, install modules, set build variables, start build.
|
||||
Get-PackageProvider -Name NuGet -ForceBootstrap | Out-Null
|
||||
|
||||
Install-Module Psake, PSDeploy, BuildHelpers -force
|
||||
Install-Module Pester -Force -SkipPublisherCheck
|
||||
Import-Module Psake, BuildHelpers
|
||||
|
||||
Set-BuildEnvironment
|
||||
|
||||
Invoke-psake -buildFile .\psake.ps1 -taskList $Task -nologo
|
||||
exit ( [int]( -not $psake.build_success ) )
|
||||
Reference in New Issue
Block a user