Skip to content

Commit

Permalink
Re running attempt 6: with removing the kt suffix for test target que…
Browse files Browse the repository at this point in the history
…ries to build oppia tests
  • Loading branch information
Rd4dev committed Jul 21, 2024
1 parent 0808192 commit e0735a9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,11 @@ fun main(args: Array<String>) {
val changedFilesTestTargets = bazelClient.retrieveBazelTargets(changedFilesTestFiles)
println("Changed Files Test Targets: $changedFilesTestTargets")

val changedFilesTestTargetWithoutSuffix = changedFilesTestTargets.map { it.removeSuffix(".kt") }
println("Changed Files Test Targets without suffix: $changedFilesTestTargetWithoutSuffix")

fileTestTargetsListOutputFile.printWriter().use { writer ->
writer.println(changedFilesTestTargets.joinToString(separator = " "))
writer.println(changedFilesTestTargetWithoutSuffix.joinToString(separator = " "))
}
}
}
Expand Down

0 comments on commit e0735a9

Please sign in to comment.