Skip to content

Commit ff9caaa

Browse files
authored
Merge pull request #4668 from JetBrains/ktl-2052-fix-grammar-build
ktl-2052 Return Grammar to the dependency chain
2 parents 775600c + dd5ba89 commit ff9caaa

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

.teamcity/builds/kotlinlang/templates/DockerImageBuilder.kt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,15 @@ object DockerImageBuilder : Template({
3434
onDependencyCancel = FailureAction.CANCEL
3535
}
3636

37-
artifacts(BuildKotlinGrammar) {
38-
buildRule = lastPinned("+:*")
39-
artifactRules = "grammar.xml"
37+
dependency(BuildKotlinGrammar) {
38+
snapshot {
39+
onDependencyFailure = FailureAction.FAIL_TO_START
40+
onDependencyCancel = FailureAction.CANCEL
41+
}
42+
43+
artifacts {
44+
artifactRules = "grammar.xml"
45+
}
4046
}
4147
}
4248
})
Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
<a href="{{ edit_on_github_url }}"
2-
class="page-link-to-github"
3-
target="_blank"
4-
title="Edit this page on GitHub">
5-
<i class="github-icon"></i>
6-
<span class="text">Edit Page</span>
7-
</a>
1+
{% if edit_on_github_url %}
2+
<a href="{{ edit_on_github_url }}"
3+
class="page-link-to-github"
4+
target="_blank"
5+
title="Edit this page on GitHub">
6+
<i class="github-icon"></i>
7+
<span class="text">Edit Page</span>
8+
</a>
9+
{% endif %}

0 commit comments

Comments
 (0)