Skip to content
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

prerequisites 解决无法按顺序进行 #9

Open
harttle opened this issue Nov 26, 2019 · 0 comments
Open

prerequisites 解决无法按顺序进行 #9

harttle opened this issue Nov 26, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@harttle
Copy link
Collaborator

harttle commented Nov 26, 2019

目前 makit 中 prerequisites 的解决是无序的(Promise.all()),而 GNU make 是从左到右按顺序的。我们会有这种场景不能实现:

rule('dev', ['build', 'deploy'])

考虑如果不影响性能的话(如果target足够多即使每条顺序执行,并发应该也够)可以按顺序来。否则需要引入其他机制来提供按顺序的功能。

@harttle harttle added the bug Something isn't working label Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant