mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
error message
This commit is contained in:
6
Rakefile
6
Rakefile
@@ -13,6 +13,12 @@ task :build do
|
||||
cp_r dir, File.join(dest, dir)
|
||||
end
|
||||
|
||||
`hash coffee`
|
||||
if not $?.success?
|
||||
abort "error: coffee is required but it's not installed - " +
|
||||
"http://coffeescript.org/ - (try `npm i -g coffee-script`)"
|
||||
end
|
||||
|
||||
Dir['src/**/*.coffee'].each do |file|
|
||||
sh "coffee -c #{dest}/src"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user