IndigoUnited / automaton

Task automation tool built in JavaScript
http://indigounited.com/automaton
MIT License
214 stars 10 forks source link

Create automaton-lib that holds support functions #45

Open marcooliveira opened 11 years ago

marcooliveira commented 11 years ago

There are several util functions on the horizon, so it might be a good time to think about creating an automaton-lib to hold all this stuff. What do you think? Should we create a separate repository and separate nodejs module?

I'll be referencing this issue in issues that relate to this.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/98441-create-automaton-lib-that-holds-support-functions?utm_campaign=plugin&utm_content=tracker%2F39683&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F39683&utm_medium=issues&utm_source=github).
sindresorhus commented 11 years ago

I think this is a good idea. Also allows other tools to make use of it.

satazor commented 11 years ago

I'm not sure if we should create this, at least for now. There aren't a lot of utility functions to offer. The most important one is file expansion, which will be offered by micromatch. For other operations, like remove directories, prompt stuff, copy directories people already have rimraf, promptly and fstream. Also people can reuse automaton tasks. Imo, what we should do, is to curate a list of node modules for common use cases and list them in the documentation.