From dee031b5392c3b1bcf0e5555c7e65e061751415e Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Thu, 23 Apr 2020 15:21:16 -0400 Subject: [PATCH] Track cargo packages --- Makefile | 8 ++++++++ home/lib/login_variables.sh | 3 +++ pkgs-cargo.list | 1 + 3 files changed, 12 insertions(+) create mode 100644 pkgs-cargo.list diff --git a/Makefile b/Makefile index d54f46b..e576ff7 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,7 @@ endif mpdconf \ pkgs_brew_cask_install \ pkgs_brew_install \ + pkgs_cargo \ pkgs_deb_install \ pkgs_deb_purge \ pkgs_debian \ @@ -84,6 +85,13 @@ pkgs_ubuntu_debfiles: list pkgs-ubuntu-debfiles.list pkgs_pip: sudo pip3 install $(shell ./list pkgs-pip.list) +# +# Rust (cargo) +# + +pkgs_cargo: list pkgs-cargo.list + cargo install $(shell ./list pkgs-cargo.list) + # # Homebrew/Mac # diff --git a/home/lib/login_variables.sh b/home/lib/login_variables.sh index f6d0a82..2898644 100644 --- a/home/lib/login_variables.sh +++ b/home/lib/login_variables.sh @@ -17,5 +17,8 @@ mkdir -p "$NQDIR" export DOTNET_ROOT=$HOME/.dotnet export PATH=$PATH:$HOME/.dotnet +# Rust / cargo +export PATH=$PATH:$HOME/.cargo/bin + # DPI . "$HOME/lib/login_variables_dpi.sh" diff --git a/pkgs-cargo.list b/pkgs-cargo.list new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/pkgs-cargo.list @@ -0,0 +1 @@ +# -- 2.20.1