5aa7291677
* 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
15 lines
No EOL
343 B
Bash
Executable file
15 lines
No EOL
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 |