Created
February 19, 2015 18:57
-
-
Save NickHeiner/358e3fc96c8189b0a5a5 to your computer and use it in GitHub Desktop.
A better way
This file contains hidden or 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
grunt.registerTask(‘task-a’, function() { | |
var result = doStuff(), | |
taskBFn = require('task-b'); | |
taskBFn({ | |
runtimeGenerated: arbitraryConfig(); | |
}).then(function() { | |
doMoreStuff(result); | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment