Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 12 lines (9 sloc) 0.334 kb
23a11bf Add versioning to files
Casey O'Hara authored
1 VERSION=`grep 'version' package.json | cut -d '"' -f 4`
2
d19efc3 Add Makefile
Casey O'Hara authored
3 package:
4 npm test
5 mkdir -p build
6 cp README.md build/README.md
7 cp src/retina.less build/retina.less
ff4c769 Build: add version to comment instead of filename, eliminate non-minifie...
Casey O'Hara authored
8 echo "// retina.js, a high-resolution image swapper (http://retinajs.com), v$(VERSION)\n" > build/retina.js
9 uglifyjs src/retina.js >> build/retina.js
10 cat build/retina.js
11
Something went wrong with that request. Please try again.