From 45cdfc33f27c7f9bed12ff5bc9e31c84296d69b2 Mon Sep 17 00:00:00 2001 From: Jack Bennett Date: Wed, 14 Oct 2015 18:19:08 +0100 Subject: [PATCH] Remove the -full build switch. Add a compile example. To get the functionality of -Full back just supply your own sources.json with the vendors you wish. Fix a typo and update the project url. --- scripts/build.ps1 | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 3700deb..30a02e9 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -13,9 +13,9 @@ Executes the default build for Cmder; Conemu, clink. This is equivalent to the "minimum" style package in the releases .EXAMPLE - .\build.ps1 -Full + .\build.ps1 -Compile - Executes a full build for Cmder, including git. This is equivalent to the "full" style package in the releases + Recompile the launcher executable if you have the requisite build tools for C++ installed. .EXAMPLE .\build -verbose @@ -29,7 +29,7 @@ Samuel Vasko, Jack Bennett Part of the Cmder project. .LINK - https://github.com/bliker/cmder - Project Home + http://cmder.net/ - Project Home #> [CmdletBinding(SupportsShouldProcess=$true)] Param( @@ -49,9 +49,6 @@ Param( # Config folder location [string]$config = "..\config", - # Include git with the package build - [switch]$Full, - # New launcher if you have MSBuild tools installed [switch]$Compile ) @@ -79,10 +76,6 @@ if ($config -ne "") { foreach ($s in $sources) { - if($Full -eq $false -and $s.name -eq "git-for-windows"){ - Continue - } - Write-Verbose "Getting $($s.name) from URL $($s.url)" # We do not care about the extensions/type of archive @@ -113,7 +106,7 @@ if($Compile) { msbuild CmderLauncher.vcxproj /p:configuration=Release Pop-Location } else { - Write-Warning "You are not building a launcher, Use -Complie" + Write-Warning "You are not building a launcher, Use -Compile" Write-Warning "This cannot be a release. Test build only!" }