mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 05:21:48 +00:00
* Added basic package building stuff * Full mock 1 * Got the thing working Part 1 * Added some signing * Got things working * Starting M1 CI * Got things looking better * Made a fix to env vars * Switched to correct env * Made developer installation * Updates * More updates * Trying again * GOt things fixed * GOt things fixed * GOt things fixed * GOt things fixed * GOt things fixed * GOt things fixed * Trying to get signing to work * Did some cleanup * Did some cleanup * Added fixes * Fixed issues * Updated Jereon library * Updated Jereon library * Remove temp fix * Remove temp fix * Updated things * Added fixes * Made one fix * Added fixes * Trying an ACTION * Final fix * Final fix * Final fix * More fixes * Made small changes * Made small changes * Lets see how far we get * Updated output format * Trying to get signing to work * Trying to get signing to work * Trying to get signing to work * Improved the command * Added fixes * Pls work * Theo is a GOAT * THeo is the BIGGEST GOAT * Got more ready * Maybe intel works now * Renamed to correct thing * Renamed to correct thing * Updated singing * Updated singing * Added fix * Added fix * Added fix * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Cleaned some stuff * Added fix * Added fix * Added fix * Added fix * Added fix * Added fix * Added fix * Addede icon generation to CI * Addede icon generation to CI * Addede icon generation to CI * Fixed * Fixed * Fixed * Fixed * Fixed * Update macos_build.yml * Update macos_build.yml * Fixed * Fixed * Fixed
28 lines
738 B
Bash
Executable File
Vendored
28 lines
738 B
Bash
Executable File
Vendored
#!/bin/bash
|
|
|
|
DISK_IMAGE_NAME="OpenBB Terminal"
|
|
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
|
BUNDLER_PATH="$SCRIPTPATH/macOS/build-macos.sh"
|
|
|
|
# exit when any command fails
|
|
set -e
|
|
|
|
# Clean Up artifacts from previous builds
|
|
rm -rf build/terminal && rm -rf dist && rm -rf DMG
|
|
|
|
# Clean up local logging id
|
|
rm -rf openbb_terminal/logs
|
|
|
|
# Running build
|
|
pyinstaller build/pyinstaller/terminal.spec # --clean
|
|
|
|
# Assign icons to the built folder and launcher
|
|
osascript build/pyinstaller/setup_icons.applescript
|
|
|
|
# Create the folder that is used for packaging
|
|
mkdir DMG
|
|
|
|
# Copy relevant artifacts to the packaging folder
|
|
cp -r build/pyinstaller/macOS_package_assets/* DMG/
|
|
mv dist/OpenBBTerminal DMG/"$DISK_IMAGE_NAME"/.OpenBB
|