This repository has been archived by the owner on Feb 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
31 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,2 @@ | ||
[config] | ||
command = deploy.cmd |
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,25 @@ | ||
@ECHO OFF | ||
PUSHD %~dp0 | ||
SETLOCAL | ||
|
||
IF NOT DEFINED DEPLOYMENT_SOURCE ( | ||
SET DEPLOYMENT_SOURCE=%~dp0%. | ||
) | ||
|
||
IF NOT DEFINED DEPLOYMENT_TARGET ( | ||
SET DEPLOYMENT_TARGET=%~dp0%artifacts\deploment | ||
) | ||
|
||
ECHO Downloading NuGet.exe | ||
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest 'https://www.nuget.org/nuget.exe' -OutFile '.nuget\nuget.exe'" | ||
|
||
ECHO Downloading ProjectK | ||
.nuget\nuget.exe install ProjectK -Version 0.1-alpha-291 -OutputDirectory packages -NoCache | ||
SET K_CMD=%~dp0packages\ProjectK.0.1-alpha-291\tools\k.cmd | ||
|
||
CD "%DEPLOYMENT_SOURCE%\samples\Builder.Filtering.Web" | ||
CALL "%K_CMD%" restore | ||
CALL "%K_CMD%" pack --out "%DEPLOYMENT_TARGET%" | ||
|
||
POPD | ||
|
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