From 6233589f54ba344511b01eac74d0f5dce1a2ffb2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 1 Sep 2023 22:36:06 +0200 Subject: [PATCH] refactor: add a quick and dirty shell script to build examples MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- examples/typescript/build.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 examples/typescript/build.sh diff --git a/examples/typescript/build.sh b/examples/typescript/build.sh new file mode 100755 index 00000000..1e8ef870 --- /dev/null +++ b/examples/typescript/build.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +set -e + +examples=$(find . -name "package.json" -maxdepth 3 -exec dirname {} \;) + +for example in $examples +do + echo -e "Building $example" + cd $example + pnpm install + pnpm build + cd - +done + -- 2.34.1