|
48 | 48 |
|
49 | 49 | <!-- Because ReadAllText is slow on osx/linux, try to find shasum and awk -->
|
50 | 50 | <PropertyGroup>
|
51 |
| - <PaketRestoreCachedHasher Condition="'$(OS)' != 'Windows_NT' And '$(PaketRestoreCachedHasher)' == '' And Exists('/usr/bin/shasum') And Exists('/usr/bin/awk')">/usr/bin/shasum $(PaketRestoreCacheFile) | /usr/bin/awk '{ print $1 }'</PaketRestoreCachedHasher> |
52 |
| - <PaketRestoreLockFileHasher Condition="'$(OS)' != 'Windows_NT' And '$(PaketRestoreLockFileHash)' == '' And Exists('/usr/bin/shasum') And Exists('/usr/bin/awk')">/usr/bin/shasum $(PaketLockFilePath) | /usr/bin/awk '{ print $1 }'</PaketRestoreLockFileHasher> |
| 51 | + <PaketRestoreCachedHasher Condition="'$(OS)' != 'Windows_NT' And '$(PaketRestoreCachedHasher)' == '' And Exists('/usr/bin/shasum') And Exists('/usr/bin/awk')">/usr/bin/shasum "$(PaketRestoreCacheFile)" | /usr/bin/awk '{ print $1 }'</PaketRestoreCachedHasher> |
| 52 | + <PaketRestoreLockFileHasher Condition="'$(OS)' != 'Windows_NT' And '$(PaketRestoreLockFileHash)' == '' And Exists('/usr/bin/shasum') And Exists('/usr/bin/awk')">/usr/bin/shasum "$(PaketLockFilePath)" | /usr/bin/awk '{ print $1 }'</PaketRestoreLockFileHasher> |
53 | 53 | </PropertyGroup>
|
54 | 54 |
|
55 | 55 | <!-- If shasum and awk exist get the hashes -->
|
56 | 56 | <Exec StandardOutputImportance="Low" Condition=" '$(PaketRestoreCachedHasher)' != '' " Command="$(PaketRestoreCachedHasher)" ConsoleToMSBuild='true'>
|
57 |
| - <Output TaskParameter="ConsoleOutput" PropertyName="PaketRestoreCachedHash" /> |
| 57 | + <Output TaskParameter="ConsoleOutput" PropertyName="PaketRestoreCachedHash" /> |
58 | 58 | </Exec>
|
59 | 59 | <Exec StandardOutputImportance="Low" Condition=" '$(PaketRestoreLockFileHasher)' != '' " Command="$(PaketRestoreLockFileHasher)" ConsoleToMSBuild='true'>
|
60 |
| - <Output TaskParameter="ConsoleOutput" PropertyName="PaketRestoreLockFileHash" /> |
| 60 | + <Output TaskParameter="ConsoleOutput" PropertyName="PaketRestoreLockFileHash" /> |
61 | 61 | </Exec>
|
62 | 62 |
|
63 | 63 | <PropertyGroup Condition="Exists('$(PaketRestoreCacheFile)') ">
|
|
127 | 127 | <PackageReference Include="%(PaketReferencesFileLinesInfo.PackageName)">
|
128 | 128 | <Version>%(PaketReferencesFileLinesInfo.PackageVersion)</Version>
|
129 | 129 | <PrivateAssets Condition="%(PaketReferencesFileLinesInfo.AllPrivateAssets) == 'true'">All</PrivateAssets>
|
| 130 | + <ExcludeAssets Condition="%(PaketReferencesFileLinesInfo.AllPrivateAssets) == 'exclude'">runtime</ExcludeAssets> |
130 | 131 | </PackageReference>
|
131 | 132 | </ItemGroup>
|
132 | 133 |
|
133 | 134 | <PropertyGroup>
|
134 |
| - <RestoreConfigFile>$(MSBuildProjectDirectory)/obj/$(MSBuildProjectFile).NuGet.Config</RestoreConfigFile> |
| 135 | + <PaketCliToolFilePath>$(MSBuildProjectDirectory)/obj/$(MSBuildProjectFile).paket.clitools</PaketCliToolFilePath> |
135 | 136 | </PropertyGroup>
|
136 | 137 |
|
137 | 138 | <ReadLinesFromFile File="$(PaketCliToolFilePath)" >
|
|
183 | 184 |
|
184 | 185 | <ConvertToAbsolutePath Condition="@(_NuspecFiles) != ''" Paths="@(_NuspecFiles)">
|
185 | 186 | <Output TaskParameter="AbsolutePaths" PropertyName="NuspecFileAbsolutePath" />
|
186 |
| - </ConvertToAbsolutePath> |
187 |
| - |
| 187 | + </ConvertToAbsolutePath> |
| 188 | + |
188 | 189 |
|
189 | 190 | <!-- Call Pack -->
|
190 | 191 | <PackTask Condition="$(UseNewPack)"
|
|
0 commit comments