aboutsummaryrefslogtreecommitdiff
path: root/scripts/.local/bin/update-dotnet-tools
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2023-09-12 22:03:02 +0200
committerBond_009 <bond.009@outlook.com>2023-09-12 22:03:02 +0200
commit782ece04dca488c1396373eeccb6d14d3cc06315 (patch)
treefbb97a7d0bffb7a118f30cacda078cdd36594608 /scripts/.local/bin/update-dotnet-tools
parentf3f3bef5d456133129d95eb06a7ccbd6f12b6b5f (diff)
scipts: add update-dotnet-tools
Diffstat (limited to 'scripts/.local/bin/update-dotnet-tools')
-rwxr-xr-xscripts/.local/bin/update-dotnet-tools5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/.local/bin/update-dotnet-tools b/scripts/.local/bin/update-dotnet-tools
new file mode 100755
index 0000000..612acef
--- /dev/null
+++ b/scripts/.local/bin/update-dotnet-tools
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -ef
+
+dotnet tool list -g | tail -n +3 | cut -f 1 -d ' ' | xargs -L 1 dotnet tool update -g