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

com.dslplatform.compiler.client.parameters.Version Maven / Gradle / Ivy

Go to download

Command line client for interaction with DSL Platform compiler (https://dsl-platform.com)

The newest version!
package com.dslplatform.compiler.client.parameters;

import com.dslplatform.compiler.client.CompileParameter;
import com.dslplatform.compiler.client.Context;

public enum Version implements CompileParameter {
	INSTANCE;

	@Override
	public String getAlias() { return "version"; }
	@Override
	public String getUsage() { return "value"; }

	@Override
	public boolean check(final Context context) {
		return true;
	}

	@Override
	public void run(final Context context) {
	}

	@Override
	public String getShortDescription() {
		return "Specify assembly/jar version. If unspecified, current date/time will be used";
	}

	@Override
	public String getDetailedDescription() {
		return "DLL/jar version number.\n" +
				"\n" +
				"\n" +
				"Example:\n" +
				"\t1.0.2";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy