Skip to content

Instantly share code, notes, and snippets.

View zcohan's full-sized avatar

Zac Cohan zcohan

View GitHub Profile
@zcohan
zcohan / Rakefile
Created May 12, 2019 12:35 — forked from sindresorhus/Rakefile
Programmatically build and sign a Developer ID macOS app
APP_NAME = 'My App'
TEAM_ID = 'XXXXXXXXXX'
desc 'Create a beta build'
task :build do
# Start with a clean state
build_dir = 'build'
system %(rm -rf #{build_dir})
# Build