rush/tools/gen-luarc.nu
2025-03-11 13:41:30 +01:00

9 lines
255 B
Plaintext
Executable file

#!/usr/bin/env nu
def main [] {
const here = path self .
let sample = open ($here | path join luarc_sample.json)
mut updated = $sample | update "workspace.library" { $env.LUACATS_PATH}
$updated | save --force ($here | path join .. .luarc.json)
}