Closed peter-mouland closed 10 years ago
ignore me - my alias wasnt working for an unrelated reason. for anyone else, here is an example:
module.exports = { "dev-build": ['clean:toolkit', 'compass:toolkit', 'requirejs:toolkit', 'jekyll:build'], "dev-spy": ['dev-build', 'watch'],
// standard build tasks that lints your JS
"build": ['jshint', 'dev-build'],
"spy": ['jshint', 'dev-spy'],
// misc tasks
"fonts": [ 'clean:fonts', 'svgmin:fonts', 'webfont', 'compass:fonts'],
// testing tasks
"test-with-coverage": ['requirejs:beautify','jekyll:build', 'blanket_mocha'],
"test-cross-browser": ['jekyll:build','connect', 'exec:browserstack'],
// alias
"test": ['test-with-coverage'],
"default": ['build']
};
Have you an example aliases.js file?