All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.duelengine.merge.CLI Maven / Gradle / Ivy

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