-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Promise support for API #351
Comments
You could alternatively make it so that commands like |
Any updates here? This can make jake more modern. |
Never mind, I just published a new task runner cli app which support promise: https://github.com/zaaack/foy |
I actually did something similar (luvies/take), which is why I've mostly given up on this issue (athough I need to put some more work into it) |
They both look... promising :-), but neither of them appears to do a topological sort of the dependencies, which IMO is the most important feature of a make/rake-like task runner. |
My task runner does actually build up a full dependency tree, making it perform all dependency-less targets in parallel would be trivial I think (I already support a |
@chocolateboy Well, mine just added a simple hash set for tasks in the dependency tree, each task with same name and options will be identified as a standalone task and will be executed once. Also, each task is executed serialized by default. But you can use options to change them, like force rerun, parallelize dependencies' execution. |
Seems like most of the API works async, but |
Would it be possible to provide promise-based versions of the API jake provides to allow a Jakefile to be written completely with async/awaits? Using
util.promisify
you should be able to have a small function that loops through the API functions and converts them I would think.The text was updated successfully, but these errors were encountered: