Skip to content

Instantly share code, notes, and snippets.

@mbround18
Last active February 3, 2022 22:34
Show Gist options
  • Save mbround18/3e4bef628747ea7ed47b959dc4093fb9 to your computer and use it in GitHub Desktop.
Save mbround18/3e4bef628747ea7ed47b959dc4093fb9 to your computer and use it in GitHub Desktop.
Makefile for Cargo Make to refresh my installed crates
[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