com.danielflower.apprunner.runners.CommandLineProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of app-runner Show documentation
Show all versions of app-runner Show documentation
A self-hosted platform-as-a-service that hosts web apps written in Java, Clojure, NodeJS, Python, golang and Scala.
package com.danielflower.apprunner.runners;
import org.apache.commons.exec.CommandLine;
import org.apache.commons.lang3.SystemUtils;
import java.util.Map;
public interface CommandLineProvider {
CommandLineProvider lein_on_path = (Map m) -> new CommandLine(SystemUtils.IS_OS_WINDOWS ? "lein.bat" : "lein");
CommandLineProvider sbt_on_path = (Map m) -> new CommandLine(SystemUtils.IS_OS_WINDOWS ? "sbt.bat" : "sbt");
CommandLineProvider go_on_path = (Map m) -> new CommandLine(SystemUtils.IS_OS_WINDOWS ? "go.exe" : "go");
CommandLine commandLine(Map envVarsForApp);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy