U4-10006 - misc fixes

This commit is contained in:
Stephan
2017-07-14 10:17:40 +02:00
parent e9a4321ee8
commit f24effdf0e
4 changed files with 7 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ function Get-UmbracoBuildEnv
{
mkdir $path > $null
}
# ensure we have NuGet
$nuget = "$path\nuget.exe"
$source = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"

View File

@@ -443,7 +443,7 @@ function Build-Umbraco
)
$target = $target.ToLowerInvariant()
Write-Host ">> Build-Umbraco <$target> <$configuration>"
Write-Host ">> Build-Umbraco <$target> <$buildConfiguration>"
Write-Host "Get Build Environment"
$uenv = Get-UmbracoBuildEnv

View File

@@ -345,7 +345,7 @@ function Verify-NuGet
"@
Write-Host "Verify NuGet consistency"
Write-Host ">> Verify NuGet consistency"
$assem = (
"System.Xml",

View File

@@ -14,6 +14,10 @@ By default, this builds the current version. It is possible to specify a differe
Valid version strings are defined in the `Set-UmbracoVersion` documentation below.
## Notes
Git might have issues dealing with long file paths during build. You may want/need to enable `core.longpaths` support (see [this page](https://github.com/msysgit/msysgit/wiki/Git-cannot-create-a-file-or-directory-with-a-long-path) for details).
# Build
The Umbraco Build solution relies on a PowerShell module. The module needs to be imported into PowerShell. From within Umbraco's repository root: