-
Notifications
You must be signed in to change notification settings - Fork 418
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added and updated cmd files to support picking the latest rc2 runtime.
- Loading branch information
1 parent
e123780
commit 854fbb6
Showing
4 changed files
with
22 additions
and
3 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,12 @@ | ||
SETLOCAL | ||
|
||
for /F "delims=" %%I in ('dir %USERPROFILE%\.dnx\runtimes\dnx-coreclr-win-*-rc2-* /b /ad /on') do set RUNTIME=%%I | ||
rem make sure we're bootstrapped | ||
for /f "delims=" %%a in ('%~dp0Bootstrap.cmd') do @set LOCATION=%%a | ||
echo exist %LOCATION%\project.lock.json | ||
if not exist %LOCATION%\project.lock.json ( | ||
call "%USERPROFILE%\.dnx\runtimes\%RUNTIME%\bin\dnu.cmd" restore %LOCATION% | ||
) | ||
echo %LOCATION% | ||
|
||
"%USERPROFILE%\.dnx\runtimes\%RUNTIME%\bin\dnx" %LOCATION% run %* |
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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
SETLOCAL | ||
|
||
for /F "delims=" %%I in ('dir %USERPROFILE%\.dnx\runtimes\dnx-clr-win-*-rc2-* /b /ad /on') do set RUNTIME=%%I | ||
rem make sure we're bootstrapped | ||
for /f "delims=" %%a in ('%~dp0Bootstrap.cmd') do @set LOCATION=%%a | ||
echo exist %LOCATION%\project.lock.json | ||
if not exist %LOCATION%\project.lock.json ( | ||
call "%USERPROFILE%\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc2-16337\bin\dnu.cmd" restore %LOCATION% | ||
call "%USERPROFILE%\.dnx\runtimes\%RUNTIME%\bin\dnu.cmd" restore %LOCATION% | ||
) | ||
echo %LOCATION% | ||
"%USERPROFILE%\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc2-16337\bin\dnx" %LOCATION% run %* | ||
|
||
"%USERPROFILE%\.dnx\runtimes\%RUNTIME%\bin\dnx" %LOCATION% run %* |
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,4 @@ | ||
SETLOCAL | ||
|
||
for /F "delims=" %%I in ('dir %USERPROFILE%\.dnx\runtimes\dnx-coreclr-win-*-rc2-* /b /ad /on') do set RUNTIME=%%I | ||
"%USERPROFILE%\.dnx\runtimes\%RUNTIME%\bin\dnx" -p %~dp0..\src\OmniSharp run %* |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
SETLOCAL | ||
|
||
"%USERPROFILE%\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc2-16337\bin\dnx" -p %~dp0..\src\OmniSharp run %* | ||
for /F "delims=" %%I in ('dir %USERPROFILE%\.dnx\runtimes\dnx-clr-win-*-rc2-* /b /ad /on') do set RUNTIME=%%I | ||
"%USERPROFILE%\.dnx\runtimes\%RUNTIME%\bin\dnx" -p %~dp0..\src\OmniSharp run %* |