3 ms·
We support dependencies in a number of ways, but are a bit different than make dependencies, because the file system of each step is separate unless you explici
by agbell 5y ago
We support dependencies in a number of ways, but are a bit different than make dependencies, because the file system of each step is separate unless you explicitly copy in or depend on other targets. This helps us do things in parallel because you are being explicit about the DAG of the build.
Copying or using file from a step causes your step to depend on it. Similarly for a `from +target`.
We also have variables, user defined commands and conditional logic. User defined commands are our way to composition.
https://docs.earthly.dev/docs/guides/udc https://docs.earthly.dev/docs/guides/udc
https://docs.earthly.dev/docs/earthfile#copy https://docs.earthly.dev/docs/earthfile#copy