spmjs / spm-build

Build tool for spm.
36 stars 27 forks source link

refactor(build) more expandable #69

Closed sorrycc closed 9 years ago

sorrycc commented 9 years ago

把任务通过接口暴露出来,内网构建可基于此进行扩展。

Build(opts)
  .getArgs()
  .installDeps()
  .parsePkg()
  .addCleanTask()
  .run(function(err) {
    if (err) console.log(err.stack);
    else console.log('done');
  });
popomore commented 9 years ago

:+1:

coveralls commented 9 years ago

Coverage Status

Coverage remained the same when pulling 1fb1e6bc2c3b728803ed434a3a41a9a2804d84e3 on refactor/more-expandable into b2899cbc9bfb039aed6583cbd89abbc97bcb6893 on master.

coveralls commented 9 years ago

Coverage Status

Coverage remained the same when pulling 94e83be776ec8ea3a3b21116dac0adeda429bd46 on refactor/more-expandable into b2899cbc9bfb039aed6583cbd89abbc97bcb6893 on master.