From 99d040e70821282e789e8cd0acbf4973eeaaa9e8 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sat, 10 Jul 2021 10:45:39 +0200 Subject: [PATCH] feat(core): add run-binary make command --- Makefile.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.toml b/Makefile.toml index 5087c8c..4754cc6 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -95,6 +95,11 @@ let mut handle = cmd.spawn().expect("cargo build failed"); } ''' +[tasks.run-binary] +command = "${EXEC_PATH}" +args = ["${@}"] +dependencies = ["build-binary"] + [tasks.create-bundle] script = ''' TARGET_DIR=target/mac/Espanso.app