Skip to content

Commit

Permalink
Merge pull request #7519 from timvandermeij/remove-amo
Browse files Browse the repository at this point in the history
Stop building the AMO extension
  • Loading branch information
yurydelendik committed Aug 3, 2016
2 parents 19105f0 + 79db293 commit 39412e5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions make.js
Expand Up @@ -659,8 +659,7 @@ target.firefox = function() {
'chrome',
'locale',
'LICENSE'],
FIREFOX_EXTENSION_NAME = 'pdf.js.xpi',
FIREFOX_AMO_EXTENSION_NAME = 'pdf.js.amo.xpi';
FIREFOX_EXTENSION_NAME = 'pdf.js.xpi';

target.locale();
exec('gulp bundle-firefox');
Expand Down Expand Up @@ -754,14 +753,6 @@ target.firefox = function() {
FIREFOX_EXTENSION_FILES.join(' '));
echo('extension created: ' + FIREFOX_EXTENSION_NAME);
cd(ROOT_DIR);

// Build the amo extension too (remove the updateUrl)
cd(FIREFOX_BUILD_DIR);
sed('-i', /.*updateURL.*\n/, '', 'install.rdf');
exec('zip -r ' + FIREFOX_AMO_EXTENSION_NAME + ' ' +
FIREFOX_EXTENSION_FILES.join(' '));
echo('AMO extension created: ' + FIREFOX_AMO_EXTENSION_NAME);
cd(ROOT_DIR);
};

//
Expand Down

0 comments on commit 39412e5

Please sign in to comment.