Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: packagerEdge.py

Issue 29367145: Issue 4719 - Edge packager does not generate an info module (Closed)
Patch Set: Rebase and fix the style Created Dec. 13, 2016, 4:26 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packagerEdge.py
===================================================================
--- a/packagerEdge.py
+++ b/packagerEdge.py
@@ -171,6 +171,11 @@
files['manifest.json'] = packagerChrome.createManifest(params, files)
+ if (metadata.has_option('general', 'backgroundScripts') and
+ 'lib/info.js' in metadata.get('general', 'backgroundScripts').split()
kzar 2016/12/13 09:19:22 IMO this looks kind of ugly, I don't like how the
Vasily Kuznetsov 2016/12/13 18:49:58 I would have computed the background scripts list
Sebastian Noack 2016/12/15 13:58:06 I agree with Vasily here. Also, is it even necesse
Oleksandr 2016/12/22 02:53:24 I think touching packagerChrome.py would require a
+ and 'lib/info.js' not in files):
+ files['lib/info.js'] = packagerChrome.createInfoModule(params)
+
move_files_to_extension(files)
if metadata.has_section('appx_assets'):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld