Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minify after file was written

  • Loading branch information...
commit d80dfdcc6e85327a52d853e5be472ed6f0383618 1 parent ca90f52
@dodo authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Cakefile
View
4 Cakefile
@@ -29,8 +29,8 @@ task 'bundle', 'build a browser bundle', (options) ->
}).use(require 'scopify').bundle()
notify m[0], "successful browserify!"
filename = "#{m[1]}.browser.js"
- writeFile filename, bundle, options
- minifyScript filename, options
+ writeFile(filename, bundle, options).then ->
+ minifyScript filename, options
task 'build', 'compile && bundle', (options) ->
timeout = 0
Please sign in to comment.
Something went wrong with that request. Please try again.