diff options
author | Rahul Kumar <rahku@microsoft.com> | 2016-01-25 14:50:20 -0800 |
---|---|---|
committer | Rahul Kumar <rahku@microsoft.com> | 2016-02-22 11:35:37 -0800 |
commit | a8741647cfa038e67a644237bd0806b78fb77b46 (patch) | |
tree | e0f3ba04869b08dd01c83bbd822879e28618f859 /tests/dir.props | |
parent | 284729c614bd87dc7db2834dbcde909fd4275116 (diff) | |
download | coreclr-a8741647cfa038e67a644237bd0806b78fb77b46.tar.gz coreclr-a8741647cfa038e67a644237bd0806b78fb77b46.tar.bz2 coreclr-a8741647cfa038e67a644237bd0806b78fb77b46.zip |
add helix run support to coreclr repo
Diffstat (limited to 'tests/dir.props')
-rw-r--r-- | tests/dir.props | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/dir.props b/tests/dir.props index 3d497ce9ec..2697ba1a11 100644 --- a/tests/dir.props +++ b/tests/dir.props @@ -47,6 +47,17 @@ <NugetRestoreCommand>$(NugetRestoreCommand) -Verbosity detailed</NugetRestoreCommand> <NugetRestoreCommand Condition="'$(OsEnvironment)'=='Unix'">mono $(NuGetRestoreCommand)</NugetRestoreCommand> </PropertyGroup> + + <!-- list of nuget package sources passed to dnu --> + <ItemGroup> + <!-- Need to escape double forward slash (%2F) or MSBuild will normalize to one slash on Unix. --> + <DnuSourceList Include="https:%2F%2Fwww.myget.org/F/dotnet-core/" /> + <DnuSourceList Include="https:%2F%2Fwww.myget.org/F/dotnet-corefxtestdata/" /> + <DnuSourceList Include="https:%2F%2Fwww.myget.org/F/dotnet-buildtools/" /> + <DnuSourceList Include="https:%2F%2Fwww.myget.org/F/nugetbuild/" /> + <DnuSourceList Include="https:%2F%2Fwww.nuget.org/api/v2/" /> + </ItemGroup> + <!-- list of directories to perform batch restore --> <ItemGroup> @@ -67,7 +78,7 @@ <DnuRestoreCommand>"$(DotnetToolCommand)"</DnuRestoreCommand> <DnuRestoreCommand>$(DnuRestoreCommand) restore</DnuRestoreCommand> - <DnuRestoreCommand>$(DnuRestoreCommand) --packages "$(PackagesDir.TrimEnd('\\'))"</DnuRestoreCommand> + <DnuRestoreCommand>$(DnuRestoreCommand) --packages "$(PackagesDir.TrimEnd('/\'.ToCharArray()))" $(DnuRestoreSource)</DnuRestoreCommand> <DnuRestoreCommand Condition="'$(LockDependencies)' == 'true'">$(DnuRestoreCommand) --lock</DnuRestoreCommand> </PropertyGroup> |