Skip to content

Commit 81a891e

Browse files
[SKIP CI] update readme
1 parent b1e3cfb commit 81a891e

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ sudo chmod +x /usr/bin/css-html-js-minify
101101
css-html-js-minify
102102
```
103103
104+
**MANUALLY:**
105+
106+
- Save [this file](https://raw.githubusercontent.com/juancarlospaco/css-html-js-minify/master/css-html-js-minify.py) and run it with Python.
107+
104108
105109
# Why?:
106110
@@ -154,14 +158,28 @@ css-html-js-minify
154158
```
155159
156160
161+
# Migration:
162+
163+
- Too keep things simple [KISS](http://en.wikipedia.org/wiki/KISS_principle), the human readable indented commented hackable HTML is keep as `*.htm` and the Compressed Production-ready as `*.html`. This is inspired from JavaScript/CSS `*.min.js` and `*.min.css`.
164+
165+
To Migrate from tipical file extension HTML to HTM, which is the exactly same, you can run this:
166+
167+
```shell
168+
find . -name "*.html" -exec rename "s/.html/.htm/" "{}" \;
169+
```
170+
171+
This will make a copy of all `*.html` renaming them as `*.htm` recursively from the current folder. Nothing deleted.
172+
173+
157174
# Requisites:
158175
159176
- [Python 3.x](https://www.python.org "Python Homepage") *(or Python 2.x, or PyPy 2.x, or PyPy 3.x)*
160177
161178
162179
# Coding Style Guide:
163180
164-
- Lint, PEP-8, PEP-257, PyLama, iSort must Pass Ok. `pip install pep8 pep257 pylama isort`
181+
- Lint, [PEP-8](https://www.python.org/dev/peps/pep-0008), [PEP-257](https://www.python.org/dev/peps/pep-0257), [PyLama](https://github.com/klen/pylama#-pylama), [iSort](https://github.com/timothycrosley/isort) must Pass Ok. `pip install pep8 pep257 pylama isort`
182+
- If theres any kind of Tests, they must Pass Ok, if theres no Tests, its ok, if Tests provided, is even better.
165183
166184
167185
# Contributors:

0 commit comments

Comments
 (0)