lemmy/scripts/upgrade_deps.sh
Charles Hall 4e5798852f
make shebangs posix compliant (#2974)
Previously, these scripts wouldn't work on exotic systems such as NixOS.

```
fd '\.sh$' -t f --exec sed -i 's@#!/bin/bash@#!/usr/bin/env bash@'
```
2023-06-08 15:38:26 -04:00

15 lines
151 B
Bash
Executable File

#!/usr/bin/env bash
pushd ../
# Check unused deps
cargo udeps --all-targets
# Upgrade deps
cargo upgrade --workspace
# Run check
cargo check
popd