lemmy/scripts/update_config_defaults.sh

7 lines
122 B
Bash
Executable file

#!/usr/bin/env bash
set -e
dest=${1-config/defaults.hjson}
cargo run --manifest-path crates/utils/Cargo.toml > "$dest"