Last active
February 3, 2022 22:34
-
-
Save mbround18/3e4bef628747ea7ed47b959dc4093fb9 to your computer and use it in GitHub Desktop.
Makefile for Cargo Make to refresh my installed crates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tasks.refresh] | |
script = ''' | |
#!/bin/bash | |
# declare an array called array and define 3 vales | |
array=( ripgrep fd-find wasm-pack trunk starship fnm cargo-make ) | |
for i in "${array[@]}" | |
do | |
cargo install "$i" | |
done | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment