Skip to content

Commit

Permalink
Fix continuous testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ia3andy committed Jun 2, 2024
1 parent 0912323 commit 86d9b68
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class PrepareForBundlingProcessor {
entry(EsBuildConfig.Loader.DATAURL, LoadersConfig::dataUrl),
entry(EsBuildConfig.Loader.BASE64, LoadersConfig::base64),
entry(EsBuildConfig.Loader.BINARY, LoadersConfig::binary));
public static final String TARGET_DIR_NAME = "web-bundler";
public static final String TARGET_DIR_NAME = "web-bundler/";
public static final String DIST = "dist";

static {
Expand All @@ -70,8 +70,9 @@ public class PrepareForBundlingProcessor {
}

@BuildStep
WebBundlerTargetDirBuildItem initTargetDir(OutputTargetBuildItem outputTarget) {
final Path targetDir = outputTarget.getOutputDirectory().resolve(TARGET_DIR_NAME);
WebBundlerTargetDirBuildItem initTargetDir(OutputTargetBuildItem outputTarget, LaunchModeBuildItem launchMode) {
final String targetDirName = TARGET_DIR_NAME + launchMode.getLaunchMode().getDefaultProfile();
final Path targetDir = outputTarget.getOutputDirectory().resolve(targetDirName);
final Path distDir = targetDir.resolve(DIST);
return new WebBundlerTargetDirBuildItem(targetDir, distDir);
}
Expand Down
9 changes: 5 additions & 4 deletions docs/modules/ROOT/pages/includes/quarkus-web-bundler.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -539,20 +539,21 @@ endif::add-copy-button-to-env-var[]
|`false`


a|icon:lock[title=Fixed at build time] [[quarkus-web-bundler_quarkus-web-bundler-bundling-envs-envs]]`link:#quarkus-web-bundler_quarkus-web-bundler-bundling-envs-envs[quarkus.web-bundler.bundling.envs]`
a|icon:lock[title=Fixed at build time] [[quarkus-web-bundler_quarkus-web-bundler-bundling-envs-envs]]`link:#quarkus-web-bundler_quarkus-web-bundler-bundling-envs-envs[quarkus.web-bundler.bundling.envs."envs"]`


[.description]
--
List of environments for the bundle

ifdef::add-copy-button-to-env-var[]
Environment variable: env_var_with_copy_button:+++QUARKUS_WEB_BUNDLER_BUNDLING_ENVS+++[]
Environment variable: env_var_with_copy_button:+++QUARKUS_WEB_BUNDLER_BUNDLING_ENVS__ENVS_+++[]
endif::add-copy-button-to-env-var[]
ifndef::add-copy-button-to-env-var[]
Environment variable: `+++QUARKUS_WEB_BUNDLER_BUNDLING_ENVS+++`
Environment variable: `+++QUARKUS_WEB_BUNDLER_BUNDLING_ENVS__ENVS_+++`
endif::add-copy-button-to-env-var[]
--|`Map<String,String>`
--|link:https://docs.oracle.com/javase/8/docs/api/java/lang/String.html[String]

|

|===

0 comments on commit 86d9b68

Please sign in to comment.