Skip to content

Instantly share code, notes, and snippets.

@Kappyh
Created July 13, 2017 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kappyh/5a1d25e9979ad280764e9aa16c4a859b to your computer and use it in GitHub Desktop.
Save Kappyh/5a1d25e9979ad280764e9aa16c4a859b to your computer and use it in GitHub Desktop.
Gulp
Comandos básicos gulp
Instalar o gulp (necessário nodejs server)
$ npm install --global gulp-cli
Iniciar o gulp nas dependencias do projeto
$ npm install --save-dev gulp
Configuração básica de um arquivo gulp
var gulp = require('gulp');
gulp.task('default', function() {
// Inserir código da task aqui
});
Rodar o gulp no terminal
$ gulp
Rodar um classe em específica no gulp
gulp <task> <othertask>
Salvar o arquivo gulp com nome : gulpfile.js
[Ainda em processo de criação....]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment