Permalink
Browse files

require path in tasks

  • Loading branch information...
1 parent c229e95 commit 96679b7a47a50a81c422d8fc78f1a12f278a1b78 @lepture lepture committed Apr 12, 2013
Showing with 3 additions and 0 deletions.
  1. +1 −0 bin/spm-build
  2. +2 −0 tasks/build.js
View
@@ -10,6 +10,7 @@ commander
.option('-O, --output-directory <dir>', 'output directory: [dist]')
.option('-v, --verbose', 'show more logs')
.option('-q, --quiet', 'show less logs')
+ .option('-f, --force', 'force to build')
.option('--encoding <encoding>', 'file encoding: [utf8]')
.option('--no-color', 'disable colorful print');
View
@@ -1,4 +1,6 @@
module.exports = function(grunt) {
+ var path = require('path');
+
// register spm install tasks
grunt.registerTask('spm-install', function() {
var done = this.async();

0 comments on commit 96679b7

Please sign in to comment.