Skip to content

Commit

Permalink
New build script
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardw committed Mar 20, 2024
1 parent 52abd67 commit 609a890
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.DS_Store
.*.md.html
/dist
13 changes: 13 additions & 0 deletions build/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

cd "$(dirname "$0")"

SRC="../src/"
DIST="../dist/"

mkdir -p "$DIST"

grep -E '^app(name|ver)=' "${SRC}iKeep.app/Contents/MacOS/iKeep" > "${DIST}build.inf"

. "${DIST}build.inf"
ditto -c -k --sequesterRsrc --keepParent "${SRC}iKeep.app" "${DIST}${appname}-${appver}.zip"

0 comments on commit 609a890

Please sign in to comment.