aboutsummaryrefslogtreecommitdiff
path: root/tools/package.sh
blob: 3b768de04dfd8fe753ac5bb50b7fa78341646adf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

cd $(dirname $0)
cd ..

rm -rf web/lib
npm ci --unsafe-perm
npm run build

cd modern

rm -rf ../web/modern
npm ci
npm run build_release
mv build ../web/modern