Built base module structure

This commit is contained in:
KevinMarquette
2017-02-02 18:34:04 -08:00
parent a346ed28a0
commit 912c4879d0
13 changed files with 260 additions and 0 deletions

21
build.ps1 Normal file
View 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 ) )