summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/clean_and_build.sh
blob: 1c01e3a4a971038f2e740abe2c89004e64364d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

set -e

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 dev