From: Jérôme Benoit Date: Fri, 1 Sep 2023 20:36:06 +0000 (+0200) Subject: refactor: add a quick and dirty shell script to build examples X-Git-Tag: v2.6.41~13 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6233589f54ba344511b01eac74d0f5dce1a2ffb2;p=poolifier.git refactor: add a quick and dirty shell script to build examples Signed-off-by: Jérôme Benoit --- diff --git a/examples/typescript/build.sh b/examples/typescript/build.sh new file mode 100755 index 000000000..1e8ef870d --- /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 +