simplesurance / baur

An incremental task runner for mono repositories.
GNU General Public License v2.0
362 stars 11 forks source link

Dependency ordering is not supported #149

Closed adamMeeruTech closed 4 years ago

adamMeeruTech commented 4 years ago

When defining the Build Inputs, the defined paths are not built in any sort of meaningful order.

In the example below, I expect to have the shared path get built first, and then my application in '.'

  [Build.Input.GitFiles]
    paths = ["../shared", "."]

Is there a way to accomplish dependency ordering that maybe i'm just missing?

Thanks!

fho commented 4 years ago

No, baur currently does not support build dependencies. The Build Inputs only specify the files that are hashed to describe the current state of the application source files. When the hash changes, the application is rebuild.

Other build tools exist that support to specify build dependencies, maybe please (https://please.build), bazel or pants does what you are looking for?

fho commented 4 years ago

Related discussion: https://github.com/simplesurance/baur/issues/154