9 lines
255 B
Plaintext
Executable file
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)
|
|
}
|