zaaack / foy

A simple, light-weight, type-friendly and modern task runner for general purpose.
http://zaaack.github.io/foy
MIT License
260 stars 14 forks source link

support only one dependency #9

Closed HairyRabbit closed 2 weeks ago

HairyRabbit commented 5 years ago

should we support follow syntax?

task('foo', 'bar')

Now should write to:

task('foo', ['bar'])

and throw:

dependencies.map is not a function