Wiki
Clone wikiresponsive-base / documentation / grunt
Grunt
Grunt takes care of SCCS to CSS parsing and automatic FTP-deploy of changed files. Grunt also handles automation for boring tasks.
Tasks
grunt
Default task, will convert SCSS, concat JS, upload to ftp and watch.
grunt noftp
Default task, will convert SCSS, concat JS, upload to ftp and watch.
grunt production
SCSS-conversion without debugging. FTP upload, but no watch.
grunt ftpsync
Will sync stage/images/responsive-base, stage/css & stage/scripts.
grunt package
Will create a zip-package for restoring in Jetshop Admin.
grunt clean-project
Will clean out unwanted OS generated files.
grunt clear-cache
Will clean out folder ".grunt/ftpush/"
grunt clear-scrips
Will clean out ".grunt/ftpush/scripts"
FTP Sync
FTP will upload to:
stage/images/responsive-base
stage/css
stage/scripts
ftp-push saves meta-data at .grunt/ftpush/
. Use grunt clear-cache
or grunt clear-scripts
to clear this cache. All files have to be uploaded again.
Read more about Grunt
Also, looking into the node_modules
folder will provide deep insight into inner workings of Grunt
Roadmap
Grunt will most likely be replaced by Gulp in the future.
Updated