aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/macosx/create_packages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/macosx/create_packages.sh')
-rwxr-xr-xscripts/macosx/create_packages.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/macosx/create_packages.sh b/scripts/macosx/create_packages.sh
new file mode 100755
index 0000000..5a669b4
--- /dev/null
+++ b/scripts/macosx/create_packages.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+realpath() {
+ [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"
+}
+
+cdir=`pwd`
+absolute_path=`realpath $0`
+this_dir=`dirname $absolute_path`
+parent_dir=`dirname $this_dir`
+parent_dir=`dirname $parent_dir`
+cd $parent_dir/output/build
+make pkg
+
+cd ..
+mv SQLiteStudio/*.zip SQLiteStudio/*.dmg .
+cd $cdir