Skip to content
Newer
Older
100755 27 lines (18 sloc) 709 Bytes
f89ecdb @sebv cleaned cakefile
authored May 2, 2012
1 DEV_DIRS = ['lib','test']
2 COFFEE_PATHS = DEV_DIRS.concat ['index.coffee']
3 JS_PATHS = DEV_DIRS.concat ['index.js']
0da4b80 @sebv Initial commit
authored Apr 24, 2012
4
f89ecdb @sebv cleaned cakefile
authored May 2, 2012
5 u = require 'sv-cake-utils'
0da4b80 @sebv Initial commit
authored Apr 24, 2012
6
f89ecdb @sebv cleaned cakefile
authored May 2, 2012
7 task 'compile', 'Compile All coffee files', ->
8 u.coffee.compile COFFEE_PATHS
0da4b80 @sebv Initial commit
authored Apr 24, 2012
9
f89ecdb @sebv cleaned cakefile
authored May 2, 2012
10 task 'compile:watch', 'Compile All coffee files and watch for changes', ->
091827a @sebv Cakefile update
authored May 19, 2012
11 u.coffee.compile COFFEE_PATHS, watch:true
0da4b80 @sebv Initial commit
authored Apr 24, 2012
12
f89ecdb @sebv cleaned cakefile
authored May 2, 2012
13 task 'clean', 'Remove all js files', ->
14 u.js.clean JS_PATHS
15
076a5d3 @sebv fix
authored Oct 26, 2012
16 task 'test', 'Run tests', ->
6949222 @sebv test fix
authored Nov 7, 2012
17 u.mocha.test 'test', (status) ->
c4d7af4 @sebv Cakefile update
authored Nov 7, 2012
18 process.exit status unless status is 0
f89ecdb @sebv cleaned cakefile
authored May 2, 2012
19
0da4b80 @sebv Initial commit
authored Apr 24, 2012
20 task 'grep:dirty', 'Lookup for debugger and console.log in code', ->
f89ecdb @sebv cleaned cakefile
authored May 2, 2012
21 u.grep.debug()
22 u.grep.log()
23
0da4b80 @sebv Initial commit
authored Apr 24, 2012
24 task 'kill:all:phantom', 'Kill all phantom process', ->
f89ecdb @sebv cleaned cakefile
authored May 2, 2012
25 u.killAllProc 'phantom'
0da4b80 @sebv Initial commit
authored Apr 24, 2012
26
Something went wrong with that request. Please try again.