You can combine all these makefiles into one, or, use a master Makefile that calls these.
For auto building you can use watch or if your editor supports build tools call the makefiles on save.
| [color] | |
| # turn on color | |
| diff = auto | |
| status = auto | |
| branch = auto | |
| interactive = auto | |
| ui = auto | |
| [color "branch"] | |
| current = green bold | |
| local = green |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title></title> | |
| <link rel="stylesheet" type="text/css" media="screen" href="assets/stylesheets/css/master.css" /> | |
| <!--[if IE]> | |
| <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
| <![endif]--> | |
| </head> |
| var delegate = (function(){ | |
| var match = (function(){ | |
| var guineaPig = document.createElement('div'); | |
| if(guineaPig.matchesSelector) return function(elem, selector){ | |
| return elem.matchesSelector(selector); | |
| }; | |
| if(guineaPig.mozMatchesSelector) return function(elem, selector){ | |
| return elem.mozMatchesSelector(selector); | |
| }; |
| jQuery.moo = { | |
| substitute: function(str, object, regexp){ | |
| return String(str).replace(regexp || (/\\?\{([^{}]+)\}/g), function(match, name){ | |
| if (match.charAt(0) == '\\') return match.slice(1); | |
| return (object[name] != null) ? object[name] : ''; | |
| }); | |
| } | |
| }; |
| { | |
| "auto_complete_commit_on_tab": true, | |
| "auto_complete_selector": "source - comment, meta.tag - punctuation.definition.tag.begin, text.haml", | |
| "auto_complete_triggers": | |
| [ | |
| { | |
| "characters": "<", | |
| "selector": "text.html" | |
| }, | |
| { |
| ## Use the file below (.gitkeep) to ensure git keeps up with the directory | |
| ## - Useful if you need to ignore entire contents but keep the folder intact. | |
| !.gitkeep | |
| ### OSX | |
| .DS_Store | |
| .AppleDouble | |
| .LSOverride | |
| Icon | |
| # Thumbnails |
| // GA event tracking | |
| // example usage: (a button is used but any HTML element can be used.) | |
| // | |
| // <button data-ga-track-event='["category", "action", "opt_label", "opt_value", "opt_noninteraction"]'>some action</button> | |
| // | |
| // NOTICE: the usage of '' to wrap the attribute value and the "" used for strings | |
| // This is important since it MUST be valid JSON | |
| $(document.body).on('click', '[data-ga-track-event]', function(e){ | |
| var trackData = $(this).data('ga-track-event'); | |
| if(!$.isArray(trackData)) throw new Error('[data-ga-track-event] must be a valid JSON array'); |
| { | |
| "libs": [ | |
| ], | |
| "plugins": { | |
| "node": {} | |
| } | |
| } |
You can combine all these makefiles into one, or, use a master Makefile that calls these.
For auto building you can use watch or if your editor supports build tools call the makefiles on save.
| deploy: | |
| rsync -a --delete ./ username@hostname:/path/to/web/root | |
| .PHONY: deploy |