Browse files

Added LESS compile to Jakefile build task.

  • Loading branch information...
1 parent 28174c1 commit 49a47e0358dd9e170a0e54aad562ccf742979a33 @srackham committed Oct 30, 2012
Showing with 4 additions and 7 deletions.
  1. +4 −7 Jakefile.coffee
  2. BIN screenshot.png
View
11 Jakefile.coffee
@@ -7,15 +7,12 @@ EXEC_PRINT_OPTS = printStdout: true, printStderr: true
desc 'List Jake tasks.'
task 'default', -> jake.exec ['jake -T'], EXEC_PRINT_OPTS
-#TODO
-desc 'Project initialization.'
-task 'init', -> console.log 'NOT YET IMPLEMENTED'
-
-desc 'Build JavaScript executables from CoffeeScript source.'
-task 'build.coffee', ->
+desc 'Compile CoffeeScript and LESS source files.'
+task 'build', ->
jake.exec ['coffee -cb model.coffee',
'coffee -cb ./client/client.coffee',
- 'coffee -cb ./server/server.coffee'],
+ 'coffee -cb ./server/server.coffee',
+ 'lessc ./client/leaderboard.less ./client/leaderboard.css'],
EXEC_PRINT_OPTS
desc 'Push project to github.'
View
BIN screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 49a47e0

Please sign in to comment.