Class PackageManagerCommandConfig
- java.lang.Object
-
- io.quarkiverse.quinoa.deployment.packagemanager.PackageManagerCommandConfig
-
public class PackageManagerCommandConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<String>buildCustom command for building the application.Map<String,String>buildEnvEnvironment variables for build command execution.Optional<String>devCustom command for starting the application in development mode.Map<String,String>devEnvEnvironment variables for development command execution.Optional<String>installCustom command for installing all dependencies.Map<String,String>installEnvEnvironment variables for install command execution.booleanprependBinaryIf true, the package manager binary will be prepended by Quinoa (Only configure the arguments in the different commands as the binary will be prepended).Optional<String>testCustom command for running tests for the application.Map<String,String>testEnvEnvironment variables for test command execution.
-
Constructor Summary
Constructors Constructor Description PackageManagerCommandConfig()
-
-
-
Field Detail
-
prependBinary
@ConfigItem public boolean prependBinary
If true, the package manager binary will be prepended by Quinoa (Only configure the arguments in the different commands as the binary will be prepended). e.g. «quarkus.quinoa.package-manager-command.install=ci --cache $CACHE_DIR/.npm --prefer-offline» Else, the command should also contain the binary.
-
install
@ConfigItem public Optional<String> install
Custom command for installing all dependencies. e.g. «npm ci --cache $CACHE_DIR/.npm --prefer-offline»
-
installEnv
@ConfigMapping public Map<String,String> installEnv
Environment variables for install command execution.
-
buildEnv
@ConfigMapping public Map<String,String> buildEnv
Environment variables for build command execution.
-
testEnv
@ConfigMapping public Map<String,String> testEnv
Environment variables for test command execution.
-
dev
@ConfigItem public Optional<String> dev
Custom command for starting the application in development mode.
-
-