Skip to content

RimeCoOfficial/static

Repository files navigation

Static

Pre-commit

This is a pre commit script that checks added, copied, modified or renamed files for:

  • Minify js/css
  • Dynamic revision (add hash to file name) to escape browser cache
  • syntax errors and PSR2 coding standards.

Installation

# Run from repository root dir
sh pre-commit-setup.sh

Dependencies

YUI Compressor (yui.github.io)

brew install yuicompressor

JDK required http://www.java.com/en/download/mac_download.jsp

References