Comparing version 1.1.0 to 1.1.1
@@ -33,3 +33,3 @@ var fmt = require('../fmt') | ||
function each(host, handler) { | ||
var rgx = /^\s*\/\*\*\s*@desc\s+(.*)\s*\*\//gm | ||
var rgx = /@desc(.*)/ | ||
Object.keys(host).forEach(function (taskname) { | ||
@@ -36,0 +36,0 @@ var arr = rgx.exec(host[taskname].toString()) |
@@ -228,3 +228,3 @@ 'use strict' | ||
Fly.prototype.start = function (tasks, options) { | ||
tasks = arrify(tasks || 'default') | ||
tasks = arrify(tasks.length ? tasks : 'default') | ||
options = assign({ | ||
@@ -231,0 +231,0 @@ parallel: false, |
@@ -16,2 +16,3 @@ 'use strict' | ||
var opts = cli.options() | ||
var tasks = opts._ | ||
@@ -30,3 +31,3 @@ if (opts.help) { | ||
.emit('fly_run', {path: fly.file}) | ||
.start(opts.tasks) | ||
.start(tasks) | ||
} | ||
@@ -33,0 +34,0 @@ } |
{ | ||
"name": "fly", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Modern Build System", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53389
872
132
7