File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
lib/src/build_script_generate Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ class GenerateBuildScript extends Command<int> {
36
36
..writeAsStringSync (buildScript.script);
37
37
File (scriptDepsPath)
38
38
..createSync (recursive: true )
39
- ..writeAsStringSync (buildScript.dependencyPaths.join ('\n ' ));
39
+ ..writeAsStringSync (
40
+ '$scriptLocation : ${buildScript .dependencyPaths .join (' ' )}' ,
41
+ );
40
42
print (p.absolute (scriptLocation));
41
43
return 0 ;
42
44
}
Original file line number Diff line number Diff line change @@ -78,7 +78,9 @@ Future<int> _generateAndRun(
78
78
..writeAsStringSync (newContents.script);
79
79
File (scriptDepsPath)
80
80
..createSync (recursive: true )
81
- ..writeAsStringSync (newContents.dependencyPaths.join ('\n ' ));
81
+ ..writeAsStringSync (
82
+ '$scriptLocation : ${newContents .dependencyPaths .join (' ' )}' ,
83
+ );
82
84
// Delete the kernel file so it will be rebuilt.
83
85
final kernelFile = File (scriptKernelLocation);
84
86
if (kernelFile.existsSync ()) {
You can’t perform that action at this time.
0 commit comments