]> Untitled Git - lemmy.git/commitdiff
Adding script to upgrade deps, and check for unused ones.
authorDessalines <tyhou13@gmx.com>
Tue, 17 Aug 2021 23:16:20 +0000 (19:16 -0400)
committerDessalines <tyhou13@gmx.com>
Tue, 17 Aug 2021 23:16:20 +0000 (19:16 -0400)
scripts/upgrade_deps.sh [new file with mode: 0755]

diff --git a/scripts/upgrade_deps.sh b/scripts/upgrade_deps.sh
new file mode 100755 (executable)
index 0000000..90adb89
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+pushd ../
+
+# Check unused deps
+cargo udeps --all-targets
+
+# Upgrade deps
+cargo upgrade --workspace
+
+# Run check
+cargo check
+
+popd