From 969964aade792670bf39a2f8f367e2ac56993bcf Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Wed, 29 Apr 2020 01:06:04 -0500 Subject: [PATCH] maint/build ~ add `cargo make` install/uninstall targets --- Makefile.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile.toml b/Makefile.toml index b96c624bb..1a696a6b6 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -121,6 +121,12 @@ category = "[project]" command = "cargo" args = [ "make", "--list-all-steps" ] +[tasks.install] +description = "Install project binary (to \"$HOME/.cargo/bin\")" +category = "[project]" +command = "cargo" +args = ["install", "--path", "."] + [tasks.lint] description = "Lint report" category = "[project]" @@ -152,6 +158,12 @@ dependencies = [ "core::post-test", ] +[tasks.uninstall] +description = "Remove project binary (from \"$HOME/.cargo/bin\")" +category = "[project]" +command = "cargo" +args = ["uninstall"] + [tasks.util] alias = "utils"