Skip to content

Commit

Permalink
Moved 'require utils' so utils.coffee can be compiled before being ch…
Browse files Browse the repository at this point in the history
…ecked
  • Loading branch information
Kevin Today committed Feb 8, 2014
1 parent 25c6298 commit 6d600c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
fs = require "fs"
path = require "path"
child_process = require "child_process"
{Utils} = require './lib/utils'

spawn = (procName, optArray, silent=false) ->
proc = child_process.spawn procName, optArray
Expand Down Expand Up @@ -112,6 +111,7 @@ task "test", "run all tests", (options) ->
process.exit 0

task "coverage", "generate coverage report", ->
{Utils} = require './lib/utils'
temp = require 'temp'
tmpDir = temp.mkdirSync null
jscoverage = spawn "jscoverage", [".", tmpDir].concat optArrayFromDict
Expand Down

0 comments on commit 6d600c9

Please sign in to comment.