Skip to content

Commit

Permalink
Use hard links
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Mar 13, 2019
1 parent 55b6538 commit 34161e6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
CombinedConfiguration: Release|Any CPU
CI_Build: true

# This is required to be able to use hard links as much as possible
NUGET_PACKAGES: $(Agent.WorkFolder)\.nuget

steps:
- checkout: self
clean: true
Expand Down
9 changes: 8 additions & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>

<!-- Version management is now done through NuGet, this avoids issues related version mismatch -->
<!-- Enables hard links for obj -> bin files (symlinks generally don't work there -->
<CreateHardLinksForCopyFilesToOutputDirectoryIfPossible>true</CreateHardLinksForCopyFilesToOutputDirectoryIfPossible>

<CreateHardLinksForCopyLocalIfPossible>true</CreateHardLinksForCopyLocalIfPossible>
<CreateHardLinksForAdditionalFilesIfPossible>true</CreateHardLinksForAdditionalFilesIfPossible>
<CreateHardLinksForPublishFilesIfPossible>true</CreateHardLinksForPublishFilesIfPossible>

<!-- Version management is now done through NuGet, this avoids issues related version mismatch -->
<Version>255.255.255.255</Version>

<Product>$(AssemblyName) ($(TargetFramework))</Product>
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageReference Update="Uno.Core.Build" Version="1.27.0-dev.68" />
<PackageReference Update="Uno.Wasm.Bootstrap" Version="1.0.0-dev.217" />
<PackageReference Update="xamarin.build.download" Version="0.4.11" />
<PackageReference Update="Uno.MonoAnalyzers" Version="1.0.0-dev.2" />
<PackageReference Update="Uno.MonoAnalyzers" Version="1.0.0-dev.2" PrivateAssets="all" />
<DotNetCliToolReference Update="Uno.Wasm.Bootstrap.Cli" Version="1.0.0-dev.217" />
</ItemGroup>

Expand Down

0 comments on commit 34161e6

Please sign in to comment.