BVB Source Codes

web-design-standards Show gulpfile.js Source code

Return Download web-design-standards: download gulpfile.js Source code - Download web-design-standards Source code - Type:.js
  1. // Bring in individual Gulp configurations
  2. //
  3. require( './config/gulp/flags' );
  4. require( './config/gulp/sass' );
  5. require( './config/gulp/javascript' );
  6. require( './config/gulp/images' );
  7. require( './config/gulp/fonts' );
  8. require( './config/gulp/build' );
  9. require( './config/gulp/release' );
  10. require( './config/gulp/test' );
  11.  
  12. var gulp = require( 'gulp' );
  13. var dutil = require( './config/gulp/doc-util' );
  14.  
  15. gulp.task( 'default', function ( done ) {
  16.  
  17.   dutil.logIntroduction();
  18.  
  19.   dutil.logHelp(
  20.     'gulp',
  21.     'This task will output the currently supported automation tasks. ( e.g. This help message. )'
  22.   );
  23.  
  24.   dutil.logHelp(
  25.     'gulp no-cleanup [ task-name ]',
  26.     'Prefixing tasks with `no-cleanup ` will not remove the distribution directories.'
  27.   );
  28.  
  29.   dutil.logHelp(
  30.     'gulp no-test [ task-name ]',
  31.     'Prefixing tasks with `no-test` will disable testing and linting for all supported tasks.'
  32.   );
  33.  
  34.   dutil.logCommand(
  35.     'gulp clean-dist',
  36.     'This task will remove the distribution directories.'
  37.   );
  38.  
  39.   dutil.logHelp(
  40.     'gulp build',
  41.     'This task is an alias for running `gulp sass javascript images fonts` and is the recommended task to build all assets.'
  42.   );
  43.  
  44.   dutil.logCommand(
  45.     'gulp sass',
  46.     'This task will compile all the Sass files into distribution directories.'
  47.   );
  48.  
  49.   dutil.logCommand(
  50.     'gulp javascript',
  51.     'This task will compile all the JavaScript files into distribution directories.'
  52.   );
  53.  
  54.   dutil.logCommand(
  55.     'gulp images',
  56.     'This task will copy all the image files into distribution directories.'
  57.   );
  58.  
  59.   dutil.logCommand(
  60.     'gulp fonts',
  61.     'This task will copy all the font files into distribution directories.'
  62.   );
  63.  
  64.   dutil.logCommand(
  65.     'gulp release',
  66.     'This task will run `gulp build` and prepare a release directory.'
  67.   );
  68.  
  69.   dutil.logCommand(
  70.     'gulp test',
  71.     'This task will run `gulp test` and run this repository\'s unit tests.'
  72.   );
  73.  
  74.   done();
  75.  
  76. } );
  77.  
downloadgulpfile.js Source code - Download web-design-standards Source code
Related Source Codes/Software:
KineticJS - KineticJS is an HTML5 Canvas JavaScript framework ... 2017-01-07
yui3 - A library for building richly interactive web appl... 2017-01-07
TextBlob - Simple, Pythonic, text processing--Sentiment analy... 2017-01-07
monaco-editor - A browser based code editor 2017-01-07
grumpy - Grumpy is a Python to Go source code transcompiler... 2017-01-07
Knuff - The debug application for Apple Push Notification ... 2017-01-07
RoundedImageView - A fast ImageView that supports rounded corners, ov... 2017-01-07
flowchart.js - Draws simple SVG flow chart diagrams from textual ... 2017-01-08
TextFieldEffects - Custom UITextFields effects inspired by Codrops, b... 2017-01-08
glide - Package Management for Golang h... 2017-01-08
viper - Go configuration with fang 2017-02-17
bypy - The Python client for Baidu Yun (Personal Cloud St... 2017-02-17
ZLSwipeableView - A simple view for building card like interface ins... 2017-02-17
searchkit - React UI components / widgets. The easiest way to ... 2017-02-17
Ghost.py - Webkit based scriptable web browser for python. 2017-02-17
SwitchButton - A cute widget of Switch Button for you to create b... 2017-02-17
Starscream - Websockets in swift for iOS and OSX 2017-02-17
cat - Central Application Tracking 2017-02-17
dotfiles - aul's shell, git, etc config files. also homebrew,... 2017-02-17
git-radar - A heads up display for git 2017-02-17

 Back to top