aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-08 13:53:54 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-08 13:53:54 +0800
commit74348a39caf2985d475d30408b353cac07b260b7 (patch)
treede235fc3f6d60542e55c9beb1c32abf39ac84156 /scripts
parent*: Bump dependencies (diff)
downloadforge-74348a39caf2985d475d30408b353cac07b260b7.tar.gz
forge-74348a39caf2985d475d30408b353cac07b260b7.tar.zst
forge-74348a39caf2985d475d30408b353cac07b260b7.zip
*: Add missing license headers
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/lint3
-rwxr-xr-xscripts/update_deps3
2 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lint b/scripts/lint
index 7850f0e..14e5002 100755
--- a/scripts/lint
+++ b/scripts/lint
@@ -1,3 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: AGPL-3.0-only
+# SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+
golangci-lint run . --enable-all --disable wsl,wrapcheck,nlreturn,nonamedreturns,mnd,lll,intrange,godox,gochecknoglobals,gochecknoinits,forcetypeassert,gofmt,gofumpt,revive,stylecheck,exhaustruct,godot,unparam,err113,depguard
diff --git a/scripts/update_deps b/scripts/update_deps
index 723e858..448dff3 100755
--- a/scripts/update_deps
+++ b/scripts/update_deps
@@ -1,5 +1,8 @@
#!/bin/sh
+# SPDX-License-Identifier: AGPL-3.0-only
+# SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+
set -eux
go get -t -u