CMake/.gitlab/ci/docker/fedora41/install_rust.sh

11 lines
216 B
Bash
Executable File

#!/bin/sh
set -e
dnf install -y $(grep '^[^#]\+$' /root/rust_packages.lst)
typos_version=1.29.4
cargo install --root /usr/local --version "$typos_version" typos-cli
tar -C /usr/local -cf /root/rust.tar bin/typos