mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Preserve symlinks during rake install
This prevents resources within Atom.framework from getting duplicated within the bundle. This shrinks a `rake install`-ed Atom.app from 124MB to 82MB.
This commit is contained in:
2
Rakefile
2
Rakefile
@@ -42,7 +42,7 @@ task :install => [:clean, :build] do
|
||||
# Install Atom.app
|
||||
dest_path = "/Applications/#{File.basename(path)}"
|
||||
`rm -rf #{dest_path}`
|
||||
`cp -r #{path} #{File.expand_path(dest_path)}`
|
||||
`cp -a #{path} #{File.expand_path(dest_path)}`
|
||||
|
||||
# Install atom cli
|
||||
if File.directory?("/opt/boxen")
|
||||
|
||||
Reference in New Issue
Block a user