First, the function introduction:
The tool for front-end automation optimization, mainly has the following functions: gyDHTML5 Chinese Learning Network-HTML5 Pioneer Learning Network compression css– (yuicompressor) JS grammar check and compression-(google-closure-compiler) jpg, PNG, GIF lossless compression – (Jpegtran, PNGOut, gifsicle)
At present, only the Windows version of the tool, Linux and Mac version will be launched in the back, you are welcome to try. GyDHTML5 Chinese Learning Network-HTML5 Pioneer Learning Network II, installation and use:
installation:gyDHTML5 Chinese Learning Network-HTML5 Pioneer Learning Network
1, need to install JDK >= 1.4, and set the environment variable JAVA_HOMEGYDHTML5 Chinese Learning Network-HTML5 Pioneer Learning Network
Java_home configuration methods are as follows: GyDHTML5 Chinese Learning Network-HTML5 Pioneer Learning Network download JDK and install, download address: www.oracle.com/technetwork/java/javase/downloads/ index.html Right click on My Computer > Properties > Advanced > Environment variable > System variable new variable, variable name java_home path: C:/Program files/java/jdk1.6.0_26 (fill in JDK installation path) Locate the path variable and add the paths later:; C:/Program Files/java/jdk1.6.0_26/bin (note preceded by a semicolon) open cmd, enter java-version If you can see the version of the information will indicate that the configuration succeeded
2, directly extract files, run F2e-auto-optimization.cmd (please do not put in the directory with spaces) gyDHTML5 Chinese Learning Network-HTML5 Pioneer Learning Network
use:gyDHTML5 Chinese Learning Network-HTML5 Pioneer Learning Network
Enter the directory of the project as prompted, and follow the prompts directly. (Note: The source code files are placed in the SRC folder under the project directory, the build directory is the optimized file, the file structure is consistent with the SRC directory structure). GyDHTML5 Chinese Learning Network-HTML5 Pioneer Learning Network Three, download the address:
Download Address: F2E-AUTO-OPTIMIZATION-FOR-WIN.RARGYDHTML5 Chinese Learning Network-HTML5 Pioneer Learning Network
Project Address: GITHUB.COM/BINGDIAN/TOOLSGYDHTML5 Chinese Learning Network-HTML5 Pioneer Learning Network