Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Grunt - Automatização de tarefas
Search
Cléverton Heming
October 23, 2015
Programming
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Grunt - Automatização de tarefas
Mini-curso de GruntJS realizado no CCTEC 2015 na Univates
Cléverton Heming
October 23, 2015
More Decks by Cléverton Heming
See All by Cléverton Heming
Estendendo a linguagem CSS com pré-processadores
clevertonh
0
130
Other Decks in Programming
See All in Programming
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
カツオ、ご期待ください
suneo3476
0
190
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.2k
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
Agents on Rails - Rails at Scale 2026
irinanazarova
0
560
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
180
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
430
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
Featured
See All Featured
How to build a perfect <img>
jonoalderson
1
6.1k
Thoughts on Productivity
jonyablonski
76
5.4k
A better future with KSS
kneath
240
18k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Rails Girls Zürich Keynote
gr2m
96
14k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
How GitHub (no longer) Works
holman
316
150k
Unsuck your backbone
ammeep
672
58k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
270
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Transcript
None
Automação de tarefas com GRUNT JS
CLÉVERTON HEMING
O que é Criado por Ben Alman (@cowboy), Grunt JS
é uma ferramenta de linha de comando para a automatização de tarefas.
Quem utiliza http://gruntjs.com/who-uses-grunt
+ 4400 Plugins
O que precisamos? Node JS NPM
Como instalar? A instalação do NodeJS. sudo apt-get install nodejs
A instalação do NPM. sudo apt-get install npm
Vamos começar Para começar é necessário ter instalado o grunt-cli
que é a interface de linha de comando do Grunt JS npm install grunt-cli -g
Após a instalação o comando grunt vai estar disponível no
terminal. O grunt-cli não instala o grunt. O grunt-cli é o cliente que utiliza o grunt instalado no projeto
Como funciona? Ao executar o comando grunt, é procurado a
instalação do projeto, após isso carrega todos os plugins e executa as tarefas
Para utilizar o grunt, é necessários dois arquivos no projeto.
• package.json • Gruntfile.js
package Podemos gerar o arquivo package.json pelo NPM, para isso
basta executar um comando e preencher os dados solicitados. npm init
None
Gruntfile O arquivo Gruntfile.js será criado manualmente ou pode ser
utilizado um modelo disponível no site do Grunt JS. http://gruntjs.com/sample-gruntfile
None
chega de teoria, VAMOS COMEÇAR