gulp.task('docs:clear', function (done) {
  rmrf('docs/*', done);
});
Example #2
0
gulp.task('clean-partials', function(cb) {
  rimraf('./build/partials', cb);
});
Example #3
0
gulp.task('clean-playground-samples', function(cb) { rimraf(WEBSITE_GENERATED_PATH, { maxBusyTries: 1 }, cb); });
gulp.task('clean:dist', function (cb) {
    rimraf('./dist', cb);
});
Example #5
0
 teardown: function(dir) {
     rimraf(dir, function(err) {
     });
 },
Example #6
0
 afterEach(function(done) {
   rimraf(this.path, done);
 });
Example #7
0
gulp.task('clean', () => rimraf('built', {}, () => {}));
Example #8
0
 asar.createPackage(src, dest, function (err) {
   if (err) return cb(err)
   rimraf(src, cb)
 })
Example #9
0
gulp.task('clean:tmp', function (cb) {
    rimraf("./scr/tmp", cb);
});
Example #10
0
 gulp.task("clean-bower_components", (cb) => {
   rimraf("public/bower_components", cb);
 });
Example #11
0
 gulp.task("clean-favicon", (cb) => {
   rimraf("public/favicon.ico", cb);
 });
Example #12
0
 gulp.task("clean-images", (cb) => {
   rimraf("public/images", cb);
 });
Example #13
0
 gulp.task("clean-partials", (cb) => {
   rimraf("public/partials", cb);
 });
Example #14
0
 gulp.task("clean-js", (cb) => {
   rimraf("public/js", cb);
 });
Example #15
0
 .callback(function(callback){
   rimraf(target,callback)
 })
Example #16
0
File: test.js Project: jariou/jlbox
 after(function(done) {
   child.kill('SIGINT');
   return rimraf(outpath, done);
 });
Example #17
0
gulp.task('build:cleanup', function(callback) {
  rimraf('build', callback);
});
Example #18
0
		function (next) {
			rimraf(viewsPath, function (err) { next(err); });
		},
Example #19
0
 co(function *(){
   yield rimraf(tempDir);
   next();
 })();
	beforeEach(function(done) {
		rm_rf(OUTPUT_DIR, done);
	});
Example #21
0
gulp.task("clean:css", function (cb) {
  rimraf(paths.concatCssDest, cb);
});
Example #22
0
  before(function(done) {
    this.timeout(30000);

    var datadir = __dirname + '/data';

    testKey = bitcore.PrivateKey(testWIF);

    rimraf(datadir + '/regtest', function(err) {

      if (err) {
        throw err;
      }

      var configuration = {
        datadir: datadir,
        network: 'regtest',
        services: [
          {
            name: 'db',
            module: DBService,
            config: {}
          },
          {
            name: 'bitcoind',
            module: BitcoinService,
            config: {}
          },
          {
            name: 'address',
            module: AddressService,
            config: {}
          }
        ]
      };

      node = new BitcoreNode(configuration);

      regtest = bitcore.Networks.get('regtest');
      should.exist(regtest);

      node.on('error', function(err) {
        log.error(err);
      });

      node.on('ready', function() {

        client = new BitcoinRPC({
          protocol: 'https',
          host: '127.0.0.1',
          port: 18332,
          user: 'bitcoin',
          pass: 'local321',
          rejectUnauthorized: false
        });

        var syncedHandler = function() {
          if (node.services.db.tip.__height === 150) {
            node.removeListener('synced', syncedHandler);
            done();
          }
        };

        node.on('synced', syncedHandler);

        client.generate(150, function(err, response) {
          if (err) {
            throw err;
          }
        });
      });

      node.start(function(err) {
        if (err) {
          throw err;
        }
      });


    });
  });
gulp.task('clean:tmp', function (cb) {
    rimraf('./.tmp', cb);
});
Example #24
0
 afterEach(function (cb) {
     rm(path.join(__dirname, 'tmp'), cb);
 });
Example #25
0
gulp.task('clean', function(cb) {
  rimraf('./build', cb);
});
Example #26
0
gulp.task('clean', function (cb) {
  rimraf('dist', rimraf.bind({}, '.tmp', cb));
});
Example #27
0
gulp.task('clean-release', function(cb) { rimraf('release', { maxBusyTries: 1 }, cb); });
Example #28
0
gulp.task('build:clean', (cb) => {
  rimraf('./dist', cb)
})
Example #29
0
gulp.task('clean-website', function(cb) { rimraf('../monaco-editor-website', { maxBusyTries: 1 }, cb); });
Example #30
0
 after(function(done) {
   rimraf(MC_SERVER_PATH, done);
 });