commit
212f1a145a
2 changed files with 15 additions and 1 deletions
|
@ -3,7 +3,6 @@
|
||||||
<packageSources>
|
<packageSources>
|
||||||
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
||||||
<clear />
|
<clear />
|
||||||
<add key="configurable.source" value="%CLI_PACKAGE_SOURCE%" />
|
|
||||||
<add key="templating" value="https://dotnet.myget.org/F/templating/api/v3/index.json" />
|
<add key="templating" value="https://dotnet.myget.org/F/templating/api/v3/index.json" />
|
||||||
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
|
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
|
||||||
<add key="cli-deps" value="https://dotnet.myget.org/F/cli-deps/api/v3/index.json" />
|
<add key="cli-deps" value="https://dotnet.myget.org/F/cli-deps/api/v3/index.json" />
|
||||||
|
|
|
@ -67,10 +67,25 @@
|
||||||
<NuGetPackagesArchiveDirectory Include="$(NuGetPackagesArchiveFolder)" />
|
<NuGetPackagesArchiveDirectory Include="$(NuGetPackagesArchiveFolder)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<NuGetConfigContent>
|
||||||
|
<configuration>
|
||||||
|
<packageSources>
|
||||||
|
<add key="configurable.source" value="%CLI_LZMA_PACKAGE_SOURCE%" />
|
||||||
|
</packageSources>
|
||||||
|
</configuration>
|
||||||
|
</NuGetConfigContent>
|
||||||
|
<LZMANuGetConfigFilePath>$(NuGetPackagesArchiveProject)/Nuget.config</LZMANuGetConfigFilePath>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<Delete Files="@(FilesToClean)" />
|
<Delete Files="@(FilesToClean)" />
|
||||||
<RemoveDir Directories="@(NuGetPackagesArchiveDirectory)" />
|
<RemoveDir Directories="@(NuGetPackagesArchiveDirectory)" />
|
||||||
<MakeDir Directories="@(NuGetPackagesArchiveDirectory)"/>
|
<MakeDir Directories="@(NuGetPackagesArchiveDirectory)"/>
|
||||||
|
|
||||||
|
<WriteLinesToFile Condition=" 'CLI_LZMA_PACKAGE_SOURCE' != '' "
|
||||||
|
File="$(LZMANuGetConfigFilePath)"
|
||||||
|
Lines="$(NuGetConfigContent)" />
|
||||||
|
|
||||||
<DotNetNew ToolPath="$(Stage2Directory)"
|
<DotNetNew ToolPath="$(Stage2Directory)"
|
||||||
TemplateType="Web"
|
TemplateType="Web"
|
||||||
WorkingDirectory="$(NuGetPackagesArchiveProject)/Web" />
|
WorkingDirectory="$(NuGetPackagesArchiveProject)/Web" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue