From 5d541232efec8de0aa3de74a4e1196e33a7dbd33 Mon Sep 17 00:00:00 2001
From: Jeremy Ashkenas
sudo bin/cake install
- Installing the gem provides the coffee command, which can + This provides the coffee command, which can be used to compile CoffeeScript .coffee files into JavaScript, as well as debug them. The coffee command also provides direct evaluation and an interactive REPL. @@ -742,9 +743,9 @@ coffee --print app/scripts/*.coffee > concatenation.js
0.5.0 - CoffeeScript 0.5.0 is a major update, and the first release that removes - the Ruby compiler entirely, in favor of a compiler written entirely in - CoffeeScript, and self-hosting. + CoffeeScript 0.5.0 is a major release, While there are no language changes, + the Ruby compiler has been removed in favor of a self-hosting + compiler written in pure CoffeeScript.
diff --git a/index.html b/index.html index ca02dac0..2d4a7b51 100644 --- a/index.html +++ b/index.html @@ -246,14 +246,15 @@ cubed_list = (function() { source repository, or download the latest release: 0.5.0. - Then, from within the coffee-script directory, run: + Then, in order to install the CoffeeScript compiler system-wide + under /usr/local, run:
sudo bin/cake install
- Installing the gem provides the coffee command, which can
+ This provides the coffee command, which can
be used to compile CoffeeScript .coffee files into JavaScript, as
well as debug them. The coffee
command also provides direct evaluation and an interactive REPL.
@@ -1622,9 +1623,9 @@ task('test
0.5.0
- CoffeeScript 0.5.0 is a major update, and the first release that removes
- the Ruby compiler entirely, in favor of a compiler written entirely in
- CoffeeScript, and self-hosting.
+ CoffeeScript 0.5.0 is a major release, While there are no language changes,
+ the Ruby compiler has been removed in favor of a self-hosting
+ compiler written in pure CoffeeScript.
diff --git a/lib/bin/cake b/lib/bin/cake
new file mode 100755
index 00000000..524bdd16
--- /dev/null
+++ b/lib/bin/cake
@@ -0,0 +1,7 @@
+#!/usr/bin/env node
+
+process.mixin(require('sys'));
+
+require.paths.unshift('/usr/local/lib/coffee-script/lib');
+
+require('cake').run();
diff --git a/lib/bin/coffee b/lib/bin/coffee
new file mode 100755
index 00000000..e33e472b
--- /dev/null
+++ b/lib/bin/coffee
@@ -0,0 +1,7 @@
+#!/usr/bin/env node
+
+process.mixin(require('sys'));
+
+require.paths.unshift('/usr/local/lib/coffee-script/lib');
+
+require('command_line').run();