Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
d948144
commit 4040a5b
Showing
11 changed files
with
26 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
@echo off | ||
|
||
SET DIR=%~dp0% | ||
|
||
SETLOCAL | ||
SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe | ||
|
||
IF EXIST %CACHED_NUGET% goto copynuget | ||
echo Downloading latest version of NuGet.exe... | ||
IF NOT EXIST %LocalAppData%\NuGet md %LocalAppData%\NuGet | ||
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest 'https://www.nuget.org/nuget.exe' -OutFile '%CACHED_NUGET%'" | ||
|
||
:copynuget | ||
IF EXIST src\.nuget\nuget.exe goto restore | ||
md src\.nuget | ||
copy %CACHED_NUGET% src\.nuget\nuget.exe > nul | ||
|
||
:restore | ||
|
||
src\.nuget\NuGet.exe update -self | ||
|
||
call src\.nuget\NuGet.exe restore "src/Petabridge.Cmd.QuickStart.sln" | ||
|
||
call msbuild "src/Petabridge.Cmd.QuickStart.sln" /p:Configuration=Release | ||
|
||
call src\Petabridge.Cmd.QuickStart\bin\Release\Petabridge.Cmd.QuickStart.exe |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.