Track cargo packages
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 23 Apr 2020 19:21:16 +0000 (15:21 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 23 Apr 2020 19:22:10 +0000 (15:22 -0400)
Makefile
home/lib/login_variables.sh
pkgs-cargo.list [new file with mode: 0644]

index d54f46b..e576ff7 100644 (file)
--- 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
 #
index f6d0a82..2898644 100644 (file)
@@ -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 (file)
index 0000000..792d600
--- /dev/null
@@ -0,0 +1 @@
+#
This page took 0.021516 seconds and 4 git commands to generate.