1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-css-html-js-minify
7 SDESC[py37]= CSS HTML JS Minifier (PY37)
8 SDESC[py38]= CSS HTML JS Minifier (PY38)
9 HOMEPAGE= https://github.com/juancarlospaco/css-html-js-minify#css-html-js-minify
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPI/c/css-html-js-minify
14 DISTFILE[1]= css-html-js-minify-2.5.5.zip:main
19 OPTIONS_AVAILABLE= PY38 PY37
20 OPTIONS_STANDARD= none
21 VOPTS[py37]= PY38=OFF PY37=ON
22 VOPTS[py38]= PY38=ON PY37=OFF
24 DISTNAME= css-html-js-minify-2.5.5
28 [PY37].USES_ON= python:py37
30 [PY38].USES_ON= python:py38
32 [FILE:3338:descriptions/desc.single]
35 Async single-file cross-platform no-dependencies Minifier for the Web. [GPL
36 License] [LGPL License] [Python Version] [Travis report]
40 https://pypi.python.org/pypi/css-html-js-minify
43 css-html-js-minify.py --help
45 usage: css-html-js-minify.py [-h] [--version] [--wrap] [--prefix PREFIX]
46 [--timestamp] [--quiet] [--hash] [--zipy]
47 [--sort] [--comments] [--overwrite]
48 [--after AFTER] [--before BEFORE] [--watch]
52 CSS-HTML-JS-Minify. StandAlone Async cross-platform Unicode-ready
53 Python3-ready Minifier for the Web.
56 fullpath Full path to local file or folder.
59 -h, --help show this help message and exit
60 --version show programs version number and exit
61 --wrap Wrap output to ~80 chars per line, CSS only.
62 --prefix PREFIX Prefix string to prepend on output filenames.
63 --timestamp Add a Time Stamp on all CSS/JS output files.
64 --quiet Quiet, Silent, force disable all logging.
65 --hash Add SHA1 HEX-Digest 11chars Hash to Filenames.
66 --zipy GZIP Minified files as '*.gz', CSS/JS only.
67 --sort Alphabetically Sort CSS Properties, CSS only.
68 --comments Keep comments, CSS/HTML only (Not Recommended)
69 --overwrite Force overwrite all in-place (Not Recommended)
70 --after AFTER Command to execute after run (Experimental).
71 --before BEFORE Command to execute before run (Experimental).
72 --watch Re-Compress if file changes (Experimental).
73 --multiple Allow Multiple instances (Not Recommended).
75 CSS-HTML-JS-Minify: Takes a file or folder full path string and process all
76 CSS/HTML/JS found. If argument is not file/folder will fail. Check Updates
77 works on Python3. Std-In to Std-Out is deprecated since it may fail with
78 unicode characters. SHA1 HEX-Digest 11 Chars Hash on Filenames is used for
79 Server Cache. CSS Properties are Alpha-Sorted, to help spot cloned ones,
80 Selectors not. Watch works for whole folders, with minimum of ~60 Secs
86 - Takes a full path to anything, a file or a folder, then parse, optimize
87 and compress for Production.
88 - If full path is a folder with multiple files it will use Async
90 - Pretty-Printed colored Logging to Standard Output and Log File on OS
92 - Set its own Process name and show up on Process lists.
93 - Can check for updates for itself.
94 - Full Unicode/UTF-8 support.
95 - Smooth CPU usage, Single Instance Checking.
96 - Can Obfuscate, GZIP and Hash files, also Watch for changes on files.
97 - Can execute arbitrary commands after and before running.
98 - `*.css` files are saved as `*.min.css`, `*.js` are saved as `*.min.js`,
99 `*.htm` are saved as `*.html`
108 [ <sup>*(Provided by Loggerhead)*</sup>]
120 css-html-js-minify.py file.htm
122 css-html-js-minify.py file.css
124 css-html-js-minify.py file.js
126 css-html-js-minify.py /project/static/
132 from css_html_js_minify import process_single_html_file,
136 4a9f11f7e0496f5284d12111f3ba4ff5ff2023d12f15d195c9c48bd97013746c 33156 css-html-js-minify-2.5.5.zip