cake-build/cake

CleanDirectories does not handle cleaning directories with symlinks without unnecessary errors

Open

#2135 aperta il 23 apr 2018

Vedi su GitHub
 (1 commento) (2 reazioni) (0 assegnatari)C# (738 fork)batch import
BugHelp wantedUp-for-grabs

Metriche repository

Star
 (3742 star)
Metriche merge PR
 (Merge medio 1g 1h) (25 PR mergiate in 30 g)

Descrizione

What You Are Seeing?

This error

An error occurred when executing task 'Default'.
Error: One or more errors occurred.
	Could not find a part of the path '/Users/donblas/tmp/cake/example/fsharp-macos.framework/Versions/Current'.

when cleaning directories of a certain structure.

What is Expected?

It to clean without error.

What version of Cake are you using?

$ mono .cake/Cake/Cake.exe --version | tail -n 2 Version 0.27.1+Branch.main.Sha.7e44aa0319b6ef12ecc415d79a1c75cc98e2c788

Are you running on a 32 or 64 bit system?

64-bit

What environment are you running on? Windows? Linux? Mac?

macOS

Are you running on a CI Server? If so, which one?

Reproduces without.

How Did You Get This To Happen? (Steps to Reproduce)

clean_bug.zip

  1. Download attached zip file
  2. Copy fsharp-macos.framework from the backup folder to example
  3. ./build.sh

Output Log

Diag: https://gist.github.com/chamons/3def1b016716b71beb2365a322ba2513 Diag w\ mono: https://gist.github.com/chamons/858cdcca2266a6afb796fa4ba4a108fa --verbosity diagnostic -mono -Experimental: https://gist.github.com/chamons/b9248c9d30c167c679fd4b3b3d56f81a

Guida contributor