Skip to content

Commit 8e5f36d

Browse files
Update readme.md
1 parent 29703d6 commit 8e5f36d

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

readme.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,26 @@ Web minify helper!
66

77
Let me help you minify css and js files automatically and easily!
88

9-
This is only a shell script; it depends on bash shell, gnu grep, wc, curl and nodejs/npm.
9+
This is only a shell script; it depends on bash shell, grep, wc, curl and nodejs/npm.
1010

11-
It is based on [clean-css](github.com/jakubpawlowicz/clean-css), [uglify-js](github.com/mishoo/UglifyJS2) and [javascript-minifier.com](http://javascript-minifier.com)/[cssminifier.com](http://cssminifier.com).
11+
It is based on [clean-css](https://github.com/jakubpawlowicz/clean-css), [uglify-js](https://github.com/mishoo/UglifyJS2) and [javascript-minifier.com](https://javascript-minifier.com)/[cssminifier.com](https://cssminifier.com).
1212

1313
Feel free to contribute to the project if you want!
1414

1515
Requirements
1616
========
17-
- Bash shell (version > 4.0)
18-
- gnu grep
17+
- Bash shell
18+
- grep
1919
- wc (word count)
20-
- Curl (version > 7.0)
21-
- Node.js >= (0.8.0)
20+
- curl
21+
- Node.js >= (4.0)
2222

2323
How to use?
2424
========
2525

2626
```sh
27-
$ git clone https://github.com/PeterDaveHello/web-minify-helper.git
27+
$ git clone --recursive https://github.com/PeterDaveHello/web-minify-helper.git
2828
$ cd web-minify-helper
29-
$ git submodule update --init
3029
$ npm install
3130
```
3231

@@ -40,6 +39,6 @@ The script will scan all the directories under the current working directory, ex
4039

4140
Then, it will check all the js & css files to see if they already have a minified version (currently, it recognizes it by looking for a `.min` in the filename, before the file extension).
4241

43-
If the file does not have a minified version, it will minify it.
42+
If the file does not have a minified version, it will minify it.
4443

4544
Furthermore, even if there is a minified version available, the script will compare the last modified time between the original file and its minified version. If the original one is newer than the minified one -- which means the minified file is older than the original -- then it will replace the old minified file with a new minified version!

0 commit comments

Comments
 (0)