Skip to content

Commit 5b7592b

Browse files
committed
updated docs; added Cakefile
1 parent 7e5cf90 commit 5b7592b

8 files changed

+47
-482
lines changed

Cakefile

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{exec} = require 'child_process'
2+
3+
show_output = (err, stdout, stderr) ->
4+
throw err if err
5+
console.log stdout + stderr
6+
7+
task 'build', 'Build JS files', ->
8+
exec 'coffee --compile --output lib/ src/', (err, stdout, stderr) ->
9+
show_output err, stdout, stderr
10+
console.log "Build completed successfully." unless err
11+
12+
task 'spec', 'Run Jasmine specs', ->
13+
exec 'jasmine-node spec', show_output
14+
15+
task 'doc', 'rebuild the Docco documentation', ->
16+
exec([
17+
'docco src/RandomData.coffee'
18+
'mv docs/RandomData.html index.html'
19+
'mv docs/docco.css .'
20+
'rm -r docs'
21+
].join(' && '), (err) ->
22+
throw err if err
23+
console.log "Built docco docs successfully" unless err
24+
)

README.html

-61
This file was deleted.

docco.css

-186
This file was deleted.

lib/Data.js

-46
This file was deleted.

0 commit comments

Comments
 (0)