Add documentation metadata for Orbit packages
This commit is contained in:
1 parent
49739fc9f9
commit
28b13e7a96
6 files changed
+84
-4
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# greet
|
||||
|
||||
`greet` is a small Orbit package that demonstrates installing from a custom
|
||||
channel. It depends on the `hello` package from Orbit's built-in `main`
|
||||
channel.
|
||||
|
||||
```sh
|
||||
# Add the example channel once.
|
||||
orbit channel add example git.site.latha.org/nandi/example
|
||||
orbit install example::greet
|
||||
eval "$(orbit env)"
|
||||
greet
|
||||
```
|
||||
|
||||
`greet` prints `greetings from the example channel`.
|
||||
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "greet",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "Example package for the example channel",
|
||||
"documentation": "https://git.site.latha.org/nandi/orbit/src/branch/main/examples/greet/files/share/doc/greet/README.md",
|
||||
"bin": ["bin/greet"],
|
||||
"depends": { "hello": "^1.0.0" }
|
||||
}
|
||||
Reference in new issue
Block a user