- Add examples/project with orbit.toml declaring hello and greet (example channel) - Pin resolved versions and digests in orbit.lock - Add demo.sh and a demo task that calls hello and greet from .orbit/bin - Ignore the generated .orbit/ directory and document usage in its README - Link the example from the main README
19 lines
394 B
TOML
19 lines
394 B
TOML
[project]
|
|
name = "orbit-demo"
|
|
version = "0.1.0"
|
|
description = "Example project with dependencies managed by orbit"
|
|
channels = ["main", "example"]
|
|
|
|
[[channels]]
|
|
name = "example"
|
|
url = "git.site.latha.org/nandi/example"
|
|
|
|
[dependencies]
|
|
greet = { version = ">=1.0.0, <2.0.0", channel = "example" }
|
|
hello = "^1.0.0"
|
|
|
|
[tasks]
|
|
demo = "sh \"$ORBIT_PROJECT/demo.sh\""
|
|
greet = "greet"
|
|
hello = ["hello"]
|