sails-generate-frontend
Version:
Default generator for frontend code files in new Sails projects. Creates the default contents of the `assets/` folder when you run `sails new` on the command-line. Also creates a subset of the boilerplate Grunt task files (in `tasks/`); specifically, the
23 lines (22 loc) • 639 B
JavaScript
/**
* `linkAssetsBuild`
*
* ---------------------------------------------------------------
*
* This Grunt tasklist is not designed to be used directly-- rather
* it is a helper called by the `build` tasklist.
*
* For more information see:
* http://sailsjs.org/documentation/anatomy/my-app/tasks/register/link-assets-build-js
*
*/
module.exports = function(grunt) {
grunt.registerTask('linkAssetsBuild', [
'sails-linker:devJsRelative',
'sails-linker:devStylesRelative',
'sails-linker:devTpl',
'sails-linker:devJsRelativeJade',
'sails-linker:devStylesRelativeJade',
'sails-linker:devTplJade'
]);
};