Skip to content

Commit e1e97c6

Browse files
Merge pull request #15279 from Snuffleupagus/firefox-rm-README
Remove the `extensions/firefox/README.mozilla` file (bug 1778567 follow-up)
2 parents cef2ac9 + 63708a1 commit e1e97c6

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

extensions/firefox/README.mozilla

Lines changed: 0 additions & 5 deletions
This file was deleted.

gulpfile.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,6 @@ gulp.task(
12661266
const MOZCENTRAL_DIR = BUILD_DIR + "mozcentral/",
12671267
MOZCENTRAL_EXTENSION_DIR = MOZCENTRAL_DIR + "browser/extensions/pdfjs/",
12681268
MOZCENTRAL_CONTENT_DIR = MOZCENTRAL_EXTENSION_DIR + "content/",
1269-
FIREFOX_EXTENSION_DIR = "extensions/firefox/",
12701269
MOZCENTRAL_L10N_DIR =
12711270
MOZCENTRAL_DIR + "browser/locales/en-US/pdfviewer/",
12721271
FIREFOX_CONTENT_DIR = EXTENSION_SRC_DIR + "/firefox/content/";
@@ -1279,10 +1278,6 @@ gulp.task(
12791278
// Clear out everything in the firefox extension build directory
12801279
rimraf.sync(MOZCENTRAL_DIR);
12811280

1282-
const versionJSON = getVersionJSON();
1283-
const version = versionJSON.version,
1284-
commit = versionJSON.commit;
1285-
12861281
return merge([
12871282
createMainBundle(defines).pipe(
12881283
gulp.dest(MOZCENTRAL_CONTENT_DIR + "build")
@@ -1325,11 +1320,6 @@ gulp.task(
13251320
gulp
13261321
.src("l10n/en-US/*.properties")
13271322
.pipe(gulp.dest(MOZCENTRAL_L10N_DIR)),
1328-
gulp
1329-
.src(FIREFOX_EXTENSION_DIR + "README.mozilla")
1330-
.pipe(replace(/\bPDFJSSCRIPT_VERSION\b/g, version))
1331-
.pipe(replace(/\bPDFJSSCRIPT_COMMIT\b/g, commit))
1332-
.pipe(gulp.dest(MOZCENTRAL_EXTENSION_DIR)),
13331323
gulp.src("LICENSE").pipe(gulp.dest(MOZCENTRAL_EXTENSION_DIR)),
13341324
gulp
13351325
.src(FIREFOX_CONTENT_DIR + "PdfJsDefaultPreferences.jsm")

0 commit comments

Comments
 (0)