Commit b7fc56eb authored by James Robinson's avatar James Robinson

Make cached artifact location mirror local builds more closely

parent 3638f938
......@@ -52,7 +52,11 @@ class ArtifactStore {
Future<Directory> _engineSpecificCacheDir() async {
Directory cacheDir = await _cacheDir();
Directory engineSpecificDir = new Directory(path.join(cacheDir.path, 'sky_engine', engineRevision));
// For now, all downloaded artifacts are release mode host binaries so use
// a path that mirrors a local release build.
// TODO(jamesr): Add support for more configurations.
String config = 'Release';
Directory engineSpecificDir = new Directory(path.join(cacheDir.path, 'sky_engine', engineRevision, config));
if (!await engineSpecificDir.exists()) {
await engineSpecificDir.create(recursive: true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment