Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
/ web-build Public archive

Ant-powered build system for web sites

License

Notifications You must be signed in to change notification settings

tivac/web-build

Repository files navigation

Web Build: An Ant-based website optimization system

Does the following things in some order:

  • Compresses JS
  • Compresses CSS
  • Inlines <script> tags under a specific size
  • Renames JS/CSS/Images/SWFs/Fonts to append a hash of their contents for easier CDN versioning
  • Embeds images as DataURIs into CSS
  • Optionally creates a MTHML file for IE
  • Prefixes relative urls with an absolute value for using a CDN
  • Supports ifdef-style code enabling for dev vs live
  • Cleans up @VERSION@ in YUI modules
  • Removes JS Logging
  • Generates PNG8 images
  • Optimizes PNGs and JPGs
  • ... and maybe something else I forgot?

In order to successfully use this you will need:

  • Ant 1.8
  • Java JDK

Also provides a very small JS macro/lib to streamline using files/properties in JS build files

The FileTransform task is derived from code posted by Julien Lecomte

About

Ant-powered build system for web sites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published