[Pkg-mozext-commits] [adblock-plus] 238/464: Allow packaging JavaScript modules at top level

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:21 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit 889853d10efdfdbd4ea81ec2350966823ab68284
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Thu Jun 14 15:09:31 2012 +0200

    Allow packaging JavaScript modules at top level
---
 packager.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packager.py b/packager.py
index 55b3771..c407502 100644
--- a/packager.py
+++ b/packager.py
@@ -51,7 +51,7 @@ def getXPIFiles(baseDir):
   for file in ('components', 'modules', 'resources', 'defaults', 'chrome.manifest', 'icon.png', 'icon64.png'):
     yield os.path.join(baseDir, file)
   for file in os.listdir(baseDir):
-    if file.endswith('.js') or file.endswith('.xml'):
+    if file.endswith('.js') or file.endswith('.jsm') or file.endswith('.xml'):
       yield os.path.join(baseDir, file)
 
 def getIgnoredFiles(params):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list