#!/usr/bin/env python

import fnmatch
import os
from subprocess import call
 
rootPath = 'ludumdare26'
pattern = '*.coffee'
 
for root, dirs, files in os.walk(rootPath):
    for filename in fnmatch.filter(files, pattern):
        print( os.path.join(root, filename))
        call( [ 'coffee', '-c', os.path.join(root, filename) ] )


Add builder to compile coffeescript to javascript files
Add builder to compile coffeescript to javascript files
