Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
coffee:dist Compile all coffee-script for distribution (no source maps)
  • Loading branch information
doublerebel committed Sep 16, 2013
1 parent e286865 commit 26ea03e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/tintan/compile.coffee
Expand Up @@ -56,6 +56,13 @@ class Coffee
for source, task of map then do (task) ->
touch source, {mtime: true}, -> invoke task

Tintan.$.onTaskNamespace options.name + ':dist', ->
desc "Compile all coffee-script for distribution (no source maps) into #{options.target}"
task 'dist', ->
jake.program.envVars['source_maps'] = false
for source, task of map then do (task) ->
touch source, {mtime: true}, -> invoke task

Tintan.$.onTaskNamespace options.name + ':clean', ->
desc "Clean coffee-script produced files from #{options.target}"
task 'clean', ->
Expand Down

0 comments on commit 26ea03e

Please sign in to comment.