Skip to content

Commit

Permalink
Added instruction for concatenation.
Browse files Browse the repository at this point in the history
  • Loading branch information
joelcox committed Jul 6, 2012
1 parent 115ede5 commit 6159856
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -7,12 +7,14 @@ Compress js and css files for your application.

php minify -t css -f "tests/css/style.css" -o min
php minify -t js -f "tests/js/test.js" -o min
php minify -c -t css -f "tests/css/reset.css tests/css/style.css" -o min

## Arguments:

* `-t` - Type of asset. (js or css)
* `-f` - List of files. Example: `-f "js/main.js js/plugin.js"`
* `-o` - Output Directory. Example: `-o minfolder`
* `-c` - Concatenate all files. File is written to output directory as min.css or min.js, respectively.

**Note: Output files are named the same as the original.**

Expand Down

0 comments on commit 6159856

Please sign in to comment.