mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-06 23:26:25 +03:00
Remove vendor/coffee
This commit is contained in:
parent
6e2ac94a8b
commit
8088bda8b1
7
Rakefile
7
Rakefile
@ -1,8 +1,9 @@
|
||||
require 'fileutils'
|
||||
|
||||
$ATOM_ARGS = []
|
||||
ENV['PATH'] = "#{ENV['PATH']}:/opt/github/bin/"
|
||||
|
||||
ENV['PATH'] = "#{ENV['PATH']}:/usr/local/bin/"
|
||||
COFFEE_PATH = "node_modules/.bin/coffee"
|
||||
BUILD_DIR = 'atom-build'
|
||||
mkdir_p BUILD_DIR
|
||||
|
||||
@ -77,7 +78,7 @@ task :"copy-files-to-bundle" do
|
||||
if resource_path = ENV['RESOURCE_PATH']
|
||||
# CoffeeScript can't deal with unescaped whitespace in 'Atom Helper.app' path
|
||||
escaped_dest = dest.gsub("Atom Helper.app", "Atom\\ Helper.app")
|
||||
sh "vendor/coffee -c -o \"#{escaped_dest}/src/stdlib\" \"#{resource_path}/src/stdlib/require.coffee\""
|
||||
sh "#{COFFEE_PATH} -c -o \"#{escaped_dest}/src/stdlib\" \"#{resource_path}/src/stdlib/require.coffee\""
|
||||
cp_r "#{resource_path}/static", dest
|
||||
else
|
||||
# TODO: Restore this list when we add in all of atoms source
|
||||
@ -85,7 +86,7 @@ task :"copy-files-to-bundle" do
|
||||
dest_path = File.join(dest, dir)
|
||||
rm_rf dest_path
|
||||
cp_r dir, dest_path
|
||||
sh "vendor/coffee -c '#{dest_path}'"
|
||||
sh "#{COFFEE_PATH} -c '#{dest_path}'"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
1
vendor/coffee
vendored
1
vendor/coffee
vendored
@ -1 +0,0 @@
|
||||
../node_modules/coffee-script/bin/coffee
|
Loading…
Reference in New Issue
Block a user