1
0
Fork 0
mirror of synced 2024-07-14 18:55:45 +12:00
budibase/scripts/pro/build.sh
Rory Powell 5aa7291677 Only build pro after bootstrapping and after backend-core build (#9130)
* Update .npmignore path to include all subdirectories of dist

The dist/* pattern was including only the first level of files inside
the dist folder.

Update to no longer wildcard to include all the folder contents

* Only build pro after bootstrapping and after backend-core build

This protects against the scenario of a breaking change in backend-core
that is relied on by the pro package.

Introducing to fix the current build as the published backend-core package is corrupted.
This change ensures the local filsystem version of core will be used.

* Debug line

* Debug lines

* Update build script
2022-12-20 14:30:31 +00:00

15 lines
343 B
Bash
Executable file

#!/bin/bash
# This script is designed for building the pro repo after the backend-core build has completed.
# This ensures that any changes in core that are required by pro are done in the correct order.
set -e
# Go to parent of budibase
cd ../../../
if [[ -d "budibase-pro" ]]; then
cd budibase-pro
echo "Building pro"
yarn build
fi