mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-27 08:32:30 +03:00
14 lines
494 B
CoffeeScript
14 lines
494 B
CoffeeScript
|
path = require 'path'
|
||
|
|
||
|
module.exports = (grunt) ->
|
||
|
{cp} = require('./task-helpers')(grunt)
|
||
|
|
||
|
grunt.registerTask 'copy-info-plist', 'Copy plist', ->
|
||
|
contentsDir = grunt.config.get('atom.contentsDir')
|
||
|
plistPath = path.join(contentsDir, 'Info.plist')
|
||
|
helperPlistPath = path.join(contentsDir, 'Frameworks/Atom Helper.app/Contents/Info.plist')
|
||
|
|
||
|
# Copy custom plist files
|
||
|
cp 'resources/mac/atom-Info.plist', plistPath
|
||
|
cp 'resources/mac/helper-Info.plist', helperPlistPath
|