Skip to content

Commit

Permalink
add hbs/md extensions for file writing
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobeat committed May 14, 2013
1 parent 6a780e7 commit 77e048a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/file.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ class File
switch @ext
when 'less', 'styl' then 'css'
when 'coffee' then 'js'
when 'hbs' then 'js'
when 'md' then 'html'

target: (dir) ->
path.join dir or @dir, "#{@base}.#{@targetExtension()}"
Expand Down

0 comments on commit 77e048a

Please sign in to comment.