Skip to content

Commit

Permalink
close #2 close #3 - added run script and reorganized solution folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Apr 20, 2017
1 parent d948144 commit 4040a5b
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions run.cmd
@@ -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.

0 comments on commit 4040a5b

Please sign in to comment.