as hosted on mranftl.com
git clone https://github.com/majodev/majodev.github.io.git
cd majodev.github.io
npm install -d
# grunt init # this step is no longer required.
features: debug mode with drafts and source maps (+ custom Modernizr and lodash builds)
grunt
grunt is now watching for changes and runs a webserver on localhost:8080
.
features: concat & compress all js/css/html/xml files and start a gzip server (if confirmed publish to gh-pages)
grunt productive
shortcut to build productive + publish on gh-pages
grunt publish
These tasks must be run manually.
grunt serverdelay
Important: overwrites every image found in src
and support
.
grunt imagemin
Important: needs imagemagick in PATH
grunt fav
Important: needs capsperjs installed globally!
npm install -g casperjs #install casperjs globally
grunt linkcheck
Important: Needs to be run on a Mac with working MacTeX installation. Uses fonts and sips
from the Apple ecosystem.
grunt shell:cv