Created
March 25, 2016 21:22
-
-
Save miseeger/5bb91da39ad08370f4bd to your computer and use it in GitHub Desktop.
Batchfile to use dotnet commandline before ASP.NET CORE RC2
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
@echo off | |
if "%1" == "run" goto run | |
if "%1" == "publish" goto publish | |
if "%1" == "compile" goto compile | |
if "%1" == "restore" goto restore | |
if "%1" == "install" goto install | |
if "%1" == "list" goto list | |
:run | |
@dnx web | |
goto end | |
:publish | |
@dnu publish %2 %3 | |
goto end | |
:compile | |
@dnu build %2 %3 | |
goto end | |
:restore | |
@dnu restore | |
goto end | |
:install | |
dnu install %2 %3 | |
goto end | |
:list | |
@dnvm list | |
:end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment