Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.
/ Ant-MinifyJsCss Public archive

This is an Apache Ant project with which you can minify (compress) JavaScript and CSS files.

License

Notifications You must be signed in to change notification settings

yanli0303/Ant-MinifyJsCss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ant-MinifyJsCss

License PayPayl donate button

This is an Apache Ant project with which you can minify (compress) JavaScript and CSS files in a specified directory recursively.

Usage

ant -Dsrc="Home directory of your source files" minify

Note

  1. Extension of CSS files should be .css
    • Extension of minified CSS files will be .min.css
    • CSS files will be minified with YUI Compressor
  2. Extension of JavaScript files should be .js
    • Extension of minified JavaScript files will be .min.js
    • JavaScript files will be minified with Google Closure Compiler
  3. The minified files will be put in the same directory of unminified file
  4. If the minified version already exists, it won't be overwritten
  5. By default, ignore the JavaScript and CSS files in both node_modules and bower_components
  6. If you have a multi-core processor, your JavaScript and CSS files will be minified concurrently

Vendors

  1. Google Closure Compiler:
  2. Yahoo YUI Compressor:
  3. ANT Contrib

About

This is an Apache Ant project with which you can minify (compress) JavaScript and CSS files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages