Skip to content

Instantly share code, notes, and snippets.

/-

Created March 26, 2016 04:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/d9f3cc734a847962a161 to your computer and use it in GitHub Desktop.
Save anonymous/d9f3cc734a847962a161 to your computer and use it in GitHub Desktop.
C:\Users\James\Code\cs\Enumerator>setlocal enableDelayedExpansion
C:\Users\James\Code\cs\Enumerator>goto main
C:\Users\James\Code\cs\Enumerator>where dnu 1>NUL 2>&1
C:\Users\James\Code\cs\Enumerator>if 0 NEQ 0 (
echo dnu wasn't found in your PATH! 1>&2
echo See http://docs.asp.net/en/latest/getting-started/installing-on-windows.html for instructions on installing the DNX toolchain on your PC. 1>&2
exit /b 0
)
C:\Users\James\Code\cs\Enumerator>cd C:\Users\James\Code\cs\Enumerator\
C:\Users\James\Code\cs\Enumerator>call :buildSubdir src
C:\Users\James\Code\cs\Enumerator>pushd src
C:\Users\James\Code\cs\Enumerator\src>for /F %p in ('dir /b /s project.json') do (
set projectFile=%p
dnu restore ""
dnu build ""
dnu pack ""
)
C:\Users\James\Code\cs\Enumerator\src>(
set projectFile=C:\Users\James\Code\cs\Enumerator\src\Enumerator\project.json
dnu restore ""
dnu build ""
dnu pack ""
)
Microsoft .NET Development Utility Clr-x86-1.0.0-rc1-16231
CACHE https://www.nuget.org/api/v2/
Restoring packages for C:\Users\James\Code\cs\Enumerator\src\Enumerator\project.json
Writing lock file C:\Users\James\Code\cs\Enumerator\src\Enumerator\project.lock.json
Restore complete, 691ms elapsed
NuGet Config files used:
C:\Users\James\AppData\Roaming\NuGet\nuget.config
Feeds used:
https://www.nuget.org/api/v2/
Microsoft .NET Development Utility Clr-x86-1.0.0-rc1-16231
Unable to locate project.json.
Total build time elapsed: 00:00:00.0112133
Total projects built: 1
Microsoft .NET Development Utility Clr-x86-1.0.0-rc1-16231
Unable to locate project.json.
Total build time elapsed: 00:00:00.0112521
Total projects built: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment