Commit 73c3af87 authored by Drew's avatar Drew

Update documentation for flattened imports

parent 43bf8b1a
Subproject commit 3cf366c04c5ed99230ccd9483f1bba03c10d2fc5
Subproject commit f7be13698c76641b76a11a4c320e19990f137d47
......@@ -26,6 +26,16 @@ This is useful to depend on tasks specified in another package.
)
```
You can also reference remote tasks on the command line by providing their fully-qualified name:
```bash
$ atbuild atpkg.atpkg
$ atbuild mytask
$ atbuild atbuild.mytask #equivalent to previous line
```
Packages are imported in a flat topology; if `a` imports `b` and `b` imports `c`, use `c.taskname` to refer to the task, not `b.c.taskname` or `a.b.c.taskname`.
# Implementation note
Remote packages may have paths specified in a key, like "source". *Quite possibly, these keys should be interpreted relative to the path the task was declared in, NOT the working directory.*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment