File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -570,6 +570,7 @@ fn upload_file(
570570mod tests {
571571 use super :: * ;
572572 use std:: fs;
573+ use std:: os:: unix:: fs:: symlink;
573574 use zip:: ZipArchive ;
574575
575576 #[ test]
@@ -653,10 +654,7 @@ mod tests {
653654 }
654655
655656 #[ test]
656- #[ cfg( not( windows) ) ]
657657 fn test_normalize_directory_preserves_symlinks ( ) -> Result < ( ) > {
658- use std:: os:: unix:: fs:: symlink;
659-
660658 let temp_dir = crate :: utils:: fs:: TempDir :: create ( ) ?;
661659 let test_dir = temp_dir. path ( ) . join ( "TestApp.xcarchive" ) ;
662660 fs:: create_dir_all ( test_dir. join ( "Products" ) ) ?;
Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ fn add_entries_to_zip(
7575}
7676
7777// For XCArchive directories, we'll zip the entire directory
78+ // It's important to not change the contents of the directory or the size
79+ // analysis will be wrong and the code signature will break.
7880pub fn normalize_directory ( path : & Path , parsed_assets_path : & Path ) -> Result < TempFile > {
7981 debug ! ( "Creating normalized zip for directory: {}" , path. display( ) ) ;
8082
You can’t perform that action at this time.
0 commit comments