adding /usr/local/lib hardcoded versions of coffee and cake for the install script
This commit is contained in:
parent
07513ba928
commit
5d541232ef
4
Cakefile
4
Cakefile
|
@ -11,8 +11,8 @@ task 'install', 'install CoffeeScript into /usr/local', ->
|
|||
exec([
|
||||
'mkdir -p /usr/local/lib/coffee-script'
|
||||
'cp -rf bin lib LICENSE README package.json src vendor /usr/local/lib/coffee-script'
|
||||
'ln -sf /usr/local/lib/coffee-script/bin/coffee /usr/local/bin/coffee'
|
||||
'ln -sf /usr/local/lib/coffee-script/bin/cake /usr/local/bin/cake'
|
||||
'ln -sf /usr/local/lib/coffee-script/lib/bin/coffee /usr/local/bin/coffee'
|
||||
'ln -sf /usr/local/lib/coffee-script/lib/bin/cake /usr/local/bin/cake'
|
||||
].join(' && '))
|
||||
|
||||
|
||||
|
|
|
@ -149,14 +149,15 @@ alert reverse '!tpircseeffoC'</textarea>
|
|||
<a href="http://github.com/jashkenas/coffee-script">source repository</a>,
|
||||
or download the latest
|
||||
release: <a href="http://github.com/jashkenas/coffee-script/tarball/0.5.0">0.5.0</a>.
|
||||
Then, from within the <tt>coffee-script</tt> directory, run:
|
||||
Then, in order to install the CoffeeScript compiler system-wide
|
||||
under <tt>/usr/local</tt>, run:
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
sudo bin/cake install</pre>
|
||||
|
||||
<p>
|
||||
Installing the gem provides the <tt>coffee</tt> command, which can
|
||||
This provides the <tt>coffee</tt> command, which can
|
||||
be used to compile CoffeeScript <tt>.coffee</tt> files into JavaScript, as
|
||||
well as debug them. The <tt>coffee</tt>
|
||||
command also provides direct evaluation and an interactive REPL.
|
||||
|
@ -742,9 +743,9 @@ coffee --print app/scripts/*.coffee > concatenation.js</pre>
|
|||
|
||||
<p>
|
||||
<b class="header" style="margin-top: 20px;">0.5.0</b>
|
||||
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.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
11
index.html
11
index.html
|
@ -246,14 +246,15 @@ cubed_list = (function() {
|
|||
<a href="http://github.com/jashkenas/coffee-script">source repository</a>,
|
||||
or download the latest
|
||||
release: <a href="http://github.com/jashkenas/coffee-script/tarball/0.5.0">0.5.0</a>.
|
||||
Then, from within the <tt>coffee-script</tt> directory, run:
|
||||
Then, in order to install the CoffeeScript compiler system-wide
|
||||
under <tt>/usr/local</tt>, run:
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
sudo bin/cake install</pre>
|
||||
|
||||
<p>
|
||||
Installing the gem provides the <tt>coffee</tt> command, which can
|
||||
This provides the <tt>coffee</tt> command, which can
|
||||
be used to compile CoffeeScript <tt>.coffee</tt> files into JavaScript, as
|
||||
well as debug them. The <tt>coffee</tt>
|
||||
command also provides direct evaluation and an interactive REPL.
|
||||
|
@ -1622,9 +1623,9 @@ task(<span class="String"><span class="String">'</span>test<span class="String">
|
|||
|
||||
<p>
|
||||
<b class="header" style="margin-top: 20px;">0.5.0</b>
|
||||
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.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
process.mixin(require('sys'));
|
||||
|
||||
require.paths.unshift('/usr/local/lib/coffee-script/lib');
|
||||
|
||||
require('cake').run();
|
|
@ -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();
|
Loading…
Reference in New Issue