+6
-2
scripts/update-common-files.nu
+6
-2
scripts/update-common-files.nu
···
2
2
# SPDX-License-Identifier: AGPL-3.0-only
3
3
# SPDX-FileCopyrightText: 2025 @matrixfurry.com <did:plc:zmjoeu3stwcn44647rhxa44o>
4
4
5
+
use std log
6
+
5
7
# Update the common files in this directory to the latest from https://tangled.org/@matrixfurry.com/common
6
8
def main [] {
7
9
let files = [
8
10
"CODE_OF_CONDUCT.md"
9
11
"CONTRIBUTING.md"
12
+
"DCO.txt"
10
13
"SECURITY.md"
11
-
"LICENSE"
12
14
]
13
15
14
16
$files
15
-
| par-each {|file|
17
+
| each {|file|
18
+
log info $"Updating file: ($file)"
19
+
16
20
http get $"https://tangled.org/@matrixfurry.com/common/raw/main/($file)"
17
21
| save -fp $file
18
22
}