- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 123 for if (0.16 sec)
-
.teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt
REPO=$dir if [ -e ${'$'}REPO ] ; then tree ${'$'}REPO rm -rf ${'$'}REPO echo "${'$'}REPO was polluted during the build" ${if (exitOnFailure) "exit 1" else ""} else echo "${'$'}REPO does not exist" fi """.trimIndent() fun checkCleanDirWindows(dir: String, exitOnFailure: Boolean = true) = """ IF exist $dir ( TREE $dir
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Wed Apr 24 08:17:56 GMT 2024 - 7.9K bytes - Viewed (0) -
.cm/lacks_tests.cm
# Each automation has an `if` key that defines conditions to run the automation, # as well as a `run` key with the actions to do. All the conditions need to be true # for the actions to run (there is an implicit AND relation between # the conditions on each line). Each condition is specified as a Jinja expression. You # can also use the constant `true` if you want to always run the actions.
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 2.4K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
if (!milestone.isPresent) { throw IllegalStateException("Milestone not set: please rerun the task with `--milestone <milestone>`") } val prs: MutableList<GitHubPullRequest> = mutableListOf() (1..10).forEach { page -> val prPage = getMergedContributorPullRequests(page) prs.addAll(prPage) if (prPage.size < pageSize) {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon May 16 05:03:11 GMT 2022 - 5.7K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt
if (dir.asFile.isDirectory) { for (cacheDir in dir.asFile.listFiles()) { val cacheDirName = cacheDir.name if (!cacheDirName.startsWith(dirPrefix) || !cacheDirName.endsWith(dirSuffix)) { continue } val dirVersion = cacheDirName.removePrefix(dirPrefix).removeSuffix(dirSuffix) if (!dirVersion.matches(dirVersionPattern)) {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 4.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt
override fun visit(declaration: ClassOrInterfaceDeclaration, arg: Unit?): Boolean? = if (declaration.matchesNameAndIsSince(classSimpleName, version)) true else super.visit(declaration, arg) override fun visit(declaration: AnnotationDeclaration, arg: Unit?): Boolean? = if (declaration.matchesNameAndIsSince(classSimpleName, version)) true else super.visit(declaration, arg)
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Dec 01 20:12:19 GMT 2023 - 6.6K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts
else -> throw IllegalArgumentException("Expected ResolvedDependencyResult") } if (dependency.isConstraint) { continue } val to = dependency.resolvedVariant when (val fromComponent = dependency.from.id) { is ProjectComponentIdentifier -> if (fromComponent != rootComponent.id) {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Mar 28 20:26:58 GMT 2024 - 4.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/extensions.kt
customGradle(init) { useGradleWrapper = true if (buildFile == null) { buildFile = "" // Let Gradle detect the build script } skipConditionally(buildType) } fun Requirements.requiresOs(os: Os) { contains("teamcity.agent.jvm.os.name", os.agentRequirement) } fun Requirements.requiresArch(os: Os, arch: Arch) { if (os == Os.MACOS) {
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 10:49:15 GMT 2024 - 13K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
ktFunction.valueParameters.size == paramCountWithReceiver if (!(extensionCandidate || ktFunction.valueParameters.size == paramCount)) { return@collectDescendantsOfType false } // Parameter type check method.parameterTypes .asSequence() // Drop the receiver if present .drop(if (extensionCandidate) 1 else 0) .withIndex()
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 20 20:38:19 GMT 2023 - 11.1K bytes - Viewed (0) -
.teamcity/README.md
- At the popup window, click `Import Settings from VCS`. Wait a few seconds. - If the error says "Context Parameter 'Branch' missing", it's ok. Click into the error and add a context parameter `Branch` with value `myTestBranch`. Go back and it automatically reloads. - If there are any errors, read the error and fix your code. - IMPORTANT NOTE: if the first import fails, you have to select and apply `Synchronization disabled`, then repeat the step above.
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Wed Mar 06 23:02:25 GMT 2024 - 4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/projects/CheckProject.kt
allowEmpty = true, description = "Set to 'true' if you want to skip all dependency builds" ) } var prevStage: Stage? = null val previousPerformanceTestPasses: MutableList<PerformanceTestsPass> = mutableListOf() model.stages.forEach { stage -> if (isSecurityFork() && stage.stageName > StageName.READY_FOR_RELEASE) { return@forEach }
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Wed Apr 24 03:34:53 GMT 2024 - 3.1K bytes - Viewed (0)