From 8506dd773c8cc5a7fa994fdbea2f2326023a39c0 Mon Sep 17 00:00:00 2001 From: samuel-cavalcanti Date: Wed, 4 Dec 2024 14:33:33 -0300 Subject: [PATCH] create `run_examples` script --- run_examples.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 run_examples.sh diff --git a/run_examples.sh b/run_examples.sh new file mode 100755 index 0000000..6ff552c --- /dev/null +++ b/run_examples.sh @@ -0,0 +1,5 @@ +#!/bin/zsh +for example in examples/*.rs +do + cargo run --example "$(basename "${example%.rs}")" -- $args +done