diff options
Diffstat (limited to 'packages/taler-wallet-webextension/clean_and_build.sh')
-rwxr-xr-x | packages/taler-wallet-webextension/clean_and_build.sh | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/packages/taler-wallet-webextension/clean_and_build.sh b/packages/taler-wallet-webextension/clean_and_build.sh index 22abb212f..2662f8b2d 100755 --- a/packages/taler-wallet-webextension/clean_and_build.sh +++ b/packages/taler-wallet-webextension/clean_and_build.sh @@ -1,6 +1,18 @@ -#!/usr/bin/env bash -# This file is in the public domain. +#!/bin/bash + set -e -[ "also-wallet" == "$1" ] && { pnpm -C ../taler-wallet-core/ compile || exit 1; } -[ "also-util" == "$1" ] && { pnpm -C ../taler-util/ prepare || exit 1; } -pnpm clean && pnpm compile && rm -rf extension/ && ./pack.sh + +#rm -rf dist lib tsconfig.tsbuildinfo .linaria-cache + +echo typecheck and bundle... +node build-fast-with-linaria.mjs & +pnpm tsc --noEmit & +wait -n +wait -n + +echo testing... +pnpm test -- -R dot + +echo packing... +rm -rf extension/ +./pack.sh |