org.duelengine.merge.CLI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of merge-builder Show documentation
Show all versions of merge-builder Show documentation
Client-side resource management
The newest version!
package org.duelengine.merge;
public class CLI {
private static final String SEPARATOR = "========================================";
private static final String HELP = "java -jar merge-builder.jar\n"+
" --help : this help text\n"+
" -in : file path to the root of the webapp (required)\n"+
" -out : file path to the root of the build output (default: )\n"+
" -map : path of the generated map resource file\n" +
" (default: \"/cdn.properties\")\n"+
" -cdn : relative URL path for the cdn output root (default: \"/cdn/\")\n"+
" -ext : quoted list of file extensions to add to CDN (default: none)\n" +
" (example: \".png .jpg .gif .ico .woff .ttf .eot .svg\")\n";
public static void main(String[] args) {
if (args.length < 1) {
System.out.println(HELP);
return;
}
Settings settings = new Settings();
System.out.println(SEPARATOR);
System.out.println("Merge Builder\n");
for (int i=0; i © 2015 - 2025 Weber Informatics LLC | Privacy Policy