Commit 9ba2a6e1 authored by Adam Barth's avatar Adam Barth

Merge pull request #29 from jamesr/stamp_skyx

Prepend mojo shebang to skyx files
parents 6626817c 0b2a946b
......@@ -174,7 +174,8 @@ class BuildCommandHandler extends CommandHandler {
}
File outputFile = new File(results['output-file']);
await outputFile.writeAsBytes(new ZipEncoder().encode(archive));
await outputFile.writeAsString('#!mojo mojo:sky_viewer\n')
await outputFile.writeAsBytes(new ZipEncoder().encode(archive), mode: FileMode.APPEND);
return 0;
}
}
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