19 lines
306 B
TOML
19 lines
306 B
TOML
[tasks."run:edit"]
|
|
run = """#!/usr/bin/env zsh
|
|
|
|
set -e
|
|
|
|
tmp=$(mktemp)
|
|
cargo run -- --no-color target/ > "$tmp" || return 1
|
|
${EDITOR:-hx} "$tmp"
|
|
cargo run -- apply < "$tmp"
|
|
rm "$tmp"
|
|
"""
|
|
|
|
[tasks.test]
|
|
run = "cargo nextest run"
|
|
|
|
[tasks.install]
|
|
alias = ["i"]
|
|
run = "cargo install --path crates/noil --force"
|