Modular Cakefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fs = require('fs') | |
tasks = fs.readdirSync('tasks') | |
require('./tasks/' + task.replace(/\.coffee$/, '')) for task in tasks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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