Skip to content

Commit

Permalink
remove a condition (based on .jbWebExistsMarker file) for js tests ta…
Browse files Browse the repository at this point in the history
…sks (#1848)

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
  • Loading branch information
eymar and Oleksandr Karpovich committed Feb 15, 2022
1 parent ad2f889 commit 4fb11bc
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions compose/build.gradle.kts
Expand Up @@ -16,8 +16,6 @@ open class ComposePublishingTask : AbstractComposePublishingTask() {
}

val composeProperties = ComposeProperties(project)
val isWebExist =
project.composeBuild?.run { projectDir.resolve(".jbWebExistsMarker").exists() } ?: false

val mainComponents =
listOf(
Expand Down Expand Up @@ -118,11 +116,9 @@ tasks.register("testComposeJbDesktop") {
dependsOnComposeTask(":compose:runtime:runtime-saveable:desktopTest")
}

if (isWebExist) {
tasks.register("testComposeJbWeb") {
dependsOnComposeTask(":compose:runtime:runtime:jsTest")
dependsOnComposeTask(":compose:runtime:runtime:test")
}
tasks.register("testComposeJbWeb") {
dependsOnComposeTask(":compose:runtime:runtime:jsTest")
dependsOnComposeTask(":compose:runtime:runtime:test")
}

tasks.register("buildNativeDemo") {
Expand Down

0 comments on commit 4fb11bc

Please sign in to comment.