23 lines
746 B
YAML
23 lines
746 B
YAML
nuget:
|
|
account_feed: true
|
|
|
|
init:
|
|
- git config --global core.autocrlf true
|
|
|
|
install:
|
|
- cmd: nuget sources add -Name api.nuget.org -Source https://api.nuget.org/v3/index.json
|
|
|
|
before_build:
|
|
- ps: "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"
|
|
- ps: dnvm upgrade
|
|
- ps: dnvm update-self
|
|
- ps: dnvm install 1.0.0-beta7
|
|
- ps: dnvm list
|
|
- ps: dnvm use 1.0.0-beta7
|
|
- ps: npm cache clean
|
|
- ps: npm install -g gulp bower
|
|
- ps: dnu restore
|
|
# Use NuGet 2.*
|
|
- ps: (New-Object Net.WebClient).DownloadFile('https://www.nuget.org/nuget.exe', 'C:\Tools\NuGet\NuGet.exe')
|
|
- ps: nuget restore
|
|
- cmd: set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% |