-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from umbraco/dev-v7
Update to latest data
- Loading branch information
Showing
922 changed files
with
44,129 additions
and
21,477 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
@ECHO OFF | ||
SET oldPath=%PATH% | ||
|
||
git.exe 2> NUL | ||
if %ERRORLEVEL%==9009 GOTO :trydefaultpath | ||
GOTO :EOF | ||
|
||
:trydefaultpath | ||
path=C:\Program Files (x86)\Git\cmd;%PATH% | ||
git.exe 2> NUL | ||
if %ERRORLEVEL%==9009 GOTO :showerror | ||
GOTO :EOF | ||
|
||
:showerror | ||
path=%oldPath% | ||
ECHO Git is not in your path and could not be found in C:\Program Files (x86)\Git\bin | ||
set /p install=" Do you want to install Git through Chocolatey [y/n]? " %=% | ||
if %install%==y ( | ||
GOTO :installgit | ||
) else ( | ||
GOTO :cantcontinue | ||
) | ||
|
||
:cantcontinue | ||
ECHO Can't complete the build without Git being in the path. Please add it to be able to continue. | ||
GOTO :EOF | ||
|
||
:installgit | ||
ECHO Installing Chocolatey first | ||
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin | ||
ECHO Installing Git through Chocolatey | ||
choco install git | ||
path=C:\Program Files (x86)\Git\cmd;%path% |
Oops, something went wrong.