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: Created Dec. 9, 2016, 6:13 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
@@ -169,6 +169,11 @@
files['manifest.json'] = packagerChrome.createManifest(params, files)
+ if (metadata.has_option('general', 'backgroundScripts') and
+ 'lib/info.js' in metadata.get('general', 'backgroundScripts').split() 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