Skip to content

Instantly share code, notes, and snippets.

@mdellanoce mdellanoce/Cakefile
Last active Dec 16, 2015

Embed
What would you like to do?
Modular Cakefile
fs = require('fs')
tasks = fs.readdirSync('tasks')
require('./tasks/' + task.replace(/\.coffee$/, '')) for task in tasks
# This file goes in the "tasks" folder
task('test', ->
#Run tests, or whatever
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.