Skip to content

A simple but easy way to compress JavaScript and CSS files.

Notifications You must be signed in to change notification settings

swaydeng/RYCompressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RYCompressor

A simple but easy way to compress JavaScript and CSS files, it is written in ruby based on YUI Compressor.

https://github.com/swaydeng/RYCompressor

Dependencies

The following environments are required:

  • Java (requires Java >= 1.4)
  • Ruby (requires Ruby >= 1.9.x)

HowTo

To compress one or more files:

$ ./rycompressor.rb some-file.js some-other-file.css

It will generate two files(some-file-min.js, some-other-file-min.css) in the same directory.

To compress all JavaScript and CSS files in a directory:

$ ./rycompressor.rb some/dir some/other/dir

It will find files in the directory and then compress them.

License

License: none (public domain)

About

A simple but easy way to compress JavaScript and CSS files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages