Add Orbit package channels #2
No files matched your search
@@ -74,6 +74,8 @@ moon test --target native # semver / manifest unit tests
|
||||
# the binary is _build/native/release/build/main/main.exe
|
||||
```
|
||||
|
||||
Or run `just install` to build and copy the binary to `~/.local/bin/orbit`.
|
||||
|
||||
Linux only for now: arguments come from `/proc/self/cmdline`. It needs `oras`, `tar` and `/bin/sh` on `PATH`.
|
||||
|
||||
### Package Orbit with Orbit
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
# List recipes.
|
||||
default:
|
||||
@just --list
|
||||
|
||||
# Build the release binary.
|
||||
build:
|
||||
moon build --target native --release
|
||||
|
||||
# Run the unit tests.
|
||||
test:
|
||||
moon test --target native
|
||||
|
||||
# Build orbit and install it to ~/.local/bin.
|
||||
install: build
|
||||
install -Dm755 _build/native/release/build/main/main.exe "$HOME/.local/bin/orbit"
|
||||
Reference in new issue
Block a user