Skip to content

Commit

Permalink
Update MacOS deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
AdelKS committed Jun 23, 2024
1 parent e097bc7 commit 5dec11d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions deploy/macos-bundle-dmg.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
#!/bin/bash

deploy_dir=$(greadlink -f $(dirname "$BASH_SOURCE"))
[[ -f "${deploy_dir}/build-macos" ]] && rm -r "${deploy_dir}/build-macos"

meson setup "${deploy_dir}/build-macos" "${deploy_dir}/.." --prefix="${deploy_dir}/ZeGrapher.app" --bindir="Contents/MacOS"
meson setup \
-D optimization=3 \
-D debug=false \
-D b_ndebug=true \
-D debug_logs=false \
--prefix="${deploy_dir}/ZeGrapher.app" \
--bindir="Contents/MacOS" \
"${deploy_dir}/build-macos" \
"${deploy_dir}/.."

cd "${deploy_dir}/build-macos"
meson compile
meson install
Expand Down

0 comments on commit 5dec11d

Please sign in to comment.