This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added scripts for installing current build. (#837)
* Added scripts for local install. * Updated README.md.
- Loading branch information
1 parent
59e9207
commit 505f795
Showing
3 changed files
with
41 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,19 @@ | ||
@echo off | ||
|
||
title Installing NuKeeper dotnet tool | ||
echo Build solution: | ||
dotnet build | ||
|
||
echo Pack NuKeeper dotnet tool: | ||
dotnet pack .\NuKeeper\NuKeeper.csproj -o ".\artifacts" | ||
|
||
echo Uninstall existing NuKeeper dotnet tool: | ||
dotnet tool uninstall nukeeper --global | ||
|
||
echo Install NuKeeper dotnet tool: | ||
dotnet tool install nukeeper --global --add-source ".\artifacts" | ||
|
||
echo Installed NuKeeper version: | ||
nukeeper --version | ||
|
||
pause |
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,18 @@ | ||
#!/usr/bin/env bash | ||
echo "Build solution:" | ||
dotnet build | ||
|
||
echo "Pack NuKeeper dotnet tool:" | ||
dotnet pack .\NuKeeper\NuKeeper.csproj -o ".\artifacts" | ||
|
||
echo "Uninstall existing NuKeeper dotnet tool:" | ||
dotnet tool uninstall nukeeper --global | ||
|
||
echo "Install NuKeeper dotnet tool:" | ||
dotnet tool install nukeeper --global --add-source ".\artifacts" | ||
|
||
echo "Installed NuKeeper version:" | ||
nukeeper --version | ||
|
||
# Keep window open. | ||
$SHELL |
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