Add an ephemeral directory to Windows projects (#40194)
Moves files generated in windows/flutter/ as part of the build to an ephemeral/ subdirectory, matching the approach used on macOS (and in the future, Windows). Adds that directory to the generated properties file to minimize hard-coding of paths in the project.
This commit is contained in:
@@ -40,7 +40,7 @@ or
|
||||
cacheDirectory = 'linux/flutter';
|
||||
break;
|
||||
case 'windows-x64':
|
||||
cacheDirectory = 'windows/flutter';
|
||||
cacheDirectory = 'windows/flutter/ephemeral';
|
||||
break;
|
||||
default:
|
||||
stderr.write('Unsupported target platform $targetPlatform');
|
||||
|
||||
Reference in New Issue
Block a user