Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 23 lines (18 sloc) 0.455 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
var PackageTask = require('package_task').PackageTask;

var fs = require('fs')
  , pkg = JSON.parse(fs.readFileSync('package.json').toString())
  , version = pkg.version

var t = new PackageTask('jake', 'v' + version, function () {
  var fileList = [
    'Makefile'
  , 'Jakefile'
  , 'README.md'
  , 'package.json'
  , 'lib/*'
  , 'bin/*'
  , 'tests/*'
  ];
  this.packageFiles.include(fileList);
  this.needTarGz = true;
  this.needTarBz2 = true;
});


Something went wrong with that request. Please try again.