Permalink
Browse files

Updated minified version.

  • Loading branch information...
michael committed Nov 17, 2012
1 parent fe65cb9 commit ec7e4bc6cfdb617985cd80a862512edd327f36b3
Showing with 13 additions and 19 deletions.
  1. +2 −8 Cakefile
  2. +11 −11 data.min.js
View
@@ -3,15 +3,9 @@
fs = require 'fs'
util = require 'util'
-CoffeeScript = require 'coffee-script'
{spawn, exec} = require 'child_process'
-# ANSI terminal colors.
-red = '\033[0;31m'
-green = '\033[0;32m'
-reset = '\033[0m'
-
# Commands
compressionCmd = ->
"java -jar ./lib/compiler.jar --js data.js --js_output_file data.min.js"
@@ -24,9 +18,9 @@ run = (args) ->
# Log a message with a color.
log = (message, color, explanation) ->
- console.log "#{color or ''}#{message}#{reset} #{explanation or ''}"
+ console.log "#{color or ''}#{message} #{explanation or ''}"
task 'build', 'Build a compressed version', ->
exec compressionCmd(), (err, stdout, stderr) ->
throw err if err
- log 'Sucessfully built data.min.js', green
+ log 'Sucessfully built data.min.js'
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit ec7e4bc

Please sign in to comment.