mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-28 17:13:45 +03:00
Remove script/copy-info-plist
Perform the copy in Gruntfile.coffee instead of a script
This commit is contained in:
parent
3938d143a1
commit
b562b3cf72
@ -151,9 +151,12 @@ module.exports = (grunt) ->
|
||||
grunt.task.run('compile', 'copy-info-plist')
|
||||
|
||||
grunt.registerTask 'copy-info-plist', 'Copy plist', ->
|
||||
done = @async()
|
||||
spawn cmd: 'script/copy-info-plist', args: [BUILD_DIR], (error, result, code) ->
|
||||
done(error)
|
||||
plistPath = path.join(CONTENTS_DIR, 'Info.plist')
|
||||
helperPlistPath = path.join(CONTENTS_DIR, '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
|
||||
|
||||
grunt.registerTask 'set-development-version', "Sets version to current sha", ->
|
||||
done = @async()
|
||||
|
@ -1,11 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
BUILT_PRODUCTS_DIR=$1
|
||||
PLIST_PATH="$BUILT_PRODUCTS_DIR/Atom.app/Contents/Info.plist"
|
||||
HELPER_PLIST_PATH="$BUILT_PRODUCTS_DIR/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/Info.plist"
|
||||
|
||||
# Copy custom plist files
|
||||
cp resources/mac/atom-Info.plist "$PLIST_PATH"
|
||||
cp resources/mac/helper-Info.plist "$HELPER_PLIST_PATH"
|
Loading…
Reference in New Issue
Block a user