mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Add codesign grunt task
This commit is contained in:
@@ -228,6 +228,10 @@ module.exports = (grunt) ->
|
||||
|
||||
grunt.util.async.waterfall commands, (error) -> done(!error?)
|
||||
|
||||
grunt.registerTask 'codesign', 'Codesign the app', ->
|
||||
done = @async()
|
||||
args = ["-f", "-v", "-s", "Developer ID Application: GitHub", "#{path.join(BUILD_DIR, APP_NAME)}"]
|
||||
exec "codesign", args, (error) -> done(!error?)
|
||||
|
||||
grunt.registerTask 'install', 'Install the built application', ->
|
||||
rm INSTALL_DIR
|
||||
|
||||
Reference in New Issue
Block a user