Skip to content

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

@harttle

Description

@harttle

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions