mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
moving Underscore.coffee from /examples to /src
This commit is contained in:
parent
89cac4071e
commit
b983b3fcdc
2 changed files with 1 additions and 2 deletions
3
Rakefile
3
Rakefile
|
@ -35,7 +35,7 @@ namespace :build do
|
||||||
|
|
||||||
desc "Rebuild the Underscore.coffee documentation page"
|
desc "Rebuild the Underscore.coffee documentation page"
|
||||||
task :underscore do
|
task :underscore do
|
||||||
sh "uv -s coffeescript -t idle -h examples/underscore.coffee > documentation/underscore.html"
|
sh "uv -s coffeescript -t idle -h src/underscore.coffee > documentation/underscore.html"
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -46,7 +46,6 @@ task :doc do
|
||||||
child = fork { exec "bin/coffee documentation/coffee/*.coffee -o documentation/js -w" }
|
child = fork { exec "bin/coffee documentation/coffee/*.coffee -o documentation/js -w" }
|
||||||
at_exit { Process.kill("INT", child) }
|
at_exit { Process.kill("INT", child) }
|
||||||
Signal.trap("INT") { exit }
|
Signal.trap("INT") { exit }
|
||||||
# `uv -t idle -s coffeescript -h examples/underscore.coffee > documentation/underscore.html`
|
|
||||||
loop do
|
loop do
|
||||||
mtime = File.stat(source).mtime
|
mtime = File.stat(source).mtime
|
||||||
if !@mtime || mtime > @mtime
|
if !@mtime || mtime > @mtime
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue