mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
2438a63255
Summary: - Custom widget tests are now in grist-core - Adding buildtools for grist-plugin-api.js Test Plan: Existing tests Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D3617
18 lines
441 B
Bash
Executable File
18 lines
441 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
PROJECT=""
|
|
export GRIST_EXT=stubs
|
|
if [[ -e ext/app ]]; then
|
|
PROJECT="tsconfig-ext.json"
|
|
fi
|
|
|
|
set -x
|
|
tsc --build $PROJECT
|
|
buildtools/update_type_info.sh app
|
|
webpack --config buildtools/webpack.config.js --mode production
|
|
webpack --config buildtools/webpack.check.js --mode production
|
|
webpack --config buildtools/webpack.api.config.js --mode production
|
|
cat app/client/*.css app/client/*/*.css > static/bundle.css
|