The following shorthands are parsed on the command-line:
-v: --version
-h, -?, --help, -H: --usage
-s, --silent: --loglevel silent
-q, --quiet: --loglevel warn
-d: --loglevel info
It would be fun to creat mustache mixins with variables like in LESS: | |
page-header.mustache | |
```sass | |
<div class="page-header"> | |
<h1>@{variable}</h1> | |
</div> | |
``` | |
and use it like this |
{ | |
"working_dir": "${project_path:${folder}}", | |
"cmd": ["C:\\Users\\Schlink\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe", "$file"], | |
"selector": "source.html" | |
} |
{ | |
"en-us": { | |
"alert": { | |
"default": { | |
"modifier": "", | |
"heading": "Default", | |
"strong": "Default Alert!", | |
"message": "Best check yo self, you're not looking too good." | |
}, | |
"warning": { |
/*global module:false*/ | |
module.exports = function(grunt) { | |
'use strict'; | |
// Define bundles for each site | |
// Externalize to json all paths to src files for compressed bundles | |
var docsBundle = grunt.file.readJSON('build/bundles/docs.json'), | |
docsFiles = []; | |
var appBundle = grunt.file.readJSON('build/bundles/app.json'), |
/** | |
* Task: attach_heads | |
* Description: Set the heads for all themes declared in themes.json | |
*/ | |
module.exports = function(grunt) { | |
'use strict'; | |
var fs = require('fs'); | |
var path = require('path'); |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Monokai Soda</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
<key>settings</key> |
{ | |
"working_dir": "${project_path:${folder}}", | |
"cmd": ["C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe", "$file"], | |
"selector": "source.html" | |
} |
{ | |
"compile": false, | |
"compress": false, | |
"noIDs": true, | |
"noJSPrefix": true, | |
"noOverqualifying": true, | |
"noUnderscores": true, | |
"noUniversalSelectors": true, | |
"zeroUnits": true, | |
"strictPropertyOrder": true, |
//
Compiles to this:
and this...