https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 647124a0b6d5691ab240b5e9fa80422f918e13b4 authored by ffxbld on 17 September 2015, 03:34:54 UTC
Added FIREFOX_41_0_RELEASE FIREFOX_41_0_BUILD2 tag(s) for changeset 42500ed7343e. DONTBUILD CLOSED TREE a=release
Tip revision: 647124a
gulpfile.js
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";

var gulp = require('gulp');
var patch = require("./bin/node-scripts/apply-patch");
var ini = require("./bin/node-scripts/update-ini");

gulp.task('test', function(done) {
  require("./bin/jpm-test").run().then(done);
});

gulp.task('test:addons', function(done) {
  require("./bin/jpm-test").run("addons").catch(console.error).then(done);
});

gulp.task('test:docs', function(done) {
  require("./bin/jpm-test").run("docs").catch(console.error).then(done);
});

gulp.task('test:examples', function(done) {
  require("./bin/jpm-test").run("examples").catch(console.error).then(done);
});

gulp.task('test:modules', function(done) {
  require("./bin/jpm-test").run("modules").catch(console.error).then(done);
});

gulp.task('test:ini', function(done) {
  test("ini").catch(console.error).then(done);
});

gulp.task('patch:clean', function(done) {
  patch.clean().catch(console.error).then(done);
});

gulp.task('patch:apply', function(done) {
  patch.apply().catch(console.error).then(done);
});

gulp.task('update:ini', function(done) {
  ini.updateAddonINI().catch(console.error).then(done);
});
back to top