File tree Expand file tree Collapse file tree 4 files changed +24
-5
lines changed Expand file tree Collapse file tree 4 files changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,13 @@ let addTagsToGet
2929 → λ(h : Types. StepHooks Step )
3030 → λ(S : Type )
3131 → λ(c : StepConstructors S )
32- → c. get (g ⫽ { tags = mergeTags g. tags tags }) (translateHooks S c h)
32+ → c. get
33+ ( g
34+ ⫽ { tags = mergeTags g. tags tags
35+ , resource = ./ addTagsToResource. dhall tags g. resource
36+ }
37+ )
38+ (translateHooks S c h)
3339
3440let addTagsToPut
3541 : List Text → Types. PutStep → Types. StepHooks Step → Step
@@ -38,7 +44,13 @@ let addTagsToPut
3844 → λ(h : Types. StepHooks Step )
3945 → λ(S : Type )
4046 → λ(c : StepConstructors S )
41- → c. put (p ⫽ { tags = mergeTags p. tags tags }) (translateHooks S c h)
47+ → c. put
48+ ( p
49+ ⫽ { tags = mergeTags p. tags tags
50+ , resource = ./ addTagsToResource. dhall tags p. resource
51+ }
52+ )
53+ (translateHooks S c h)
4254
4355let addTagsToTask
4456 : List Text → Types. TaskStep → Types. StepHooks Step → Step
@@ -49,7 +61,6 @@ let addTagsToTask
4961 → λ(c : StepConstructors S )
5062 → c. task (t ⫽ { tags = mergeTags t. tags tags }) (translateHooks S c h)
5163
52-
5364let addTagsToStep
5465 : List Text → Step → Step
5566 = λ(tags : List Text )
Original file line number Diff line number Diff line change 1+ λ(tags : List Text )
2+ → λ(r : ../ types/ Resource. dhall)
3+ → r
4+ ⫽ { tags =
5+ merge
6+ { None = Some tags, Some = λ(ts : List Text ) → Some (ts # tags) }
7+ r. tags
8+ }
Original file line number Diff line number Diff line change 4444 ./ tryWithHooks. dhall sha256: b1808275879f924e73fd9c12393f04a9563c8f1a74743f5ac125d9849b912b0d
4545 ? ./ tryWithHooks. dhall
4646, addTags =
47- ./ addTags. dhall sha256: e802dce26e2b99c4dd7c529baa520b95199916e3b4a0733eabbb1d31d975e7a4
47+ ./ addTags. dhall sha256: 646935e099 f817d6d1e1bce332009a53a3ec02c21bfa1d41a9697fc772bcc423
4848 ? ./ addTags. dhall
4949}
Original file line number Diff line number Diff line change 88 ./ schemas/ package. dhall sha256: bf3838a202e3d5d7f5b764229b069423ec54d2c6a8ea1658a1036ad855750bbd
99 ? ./ schemas/ package. dhall
1010, helpers =
11- ./ helpers/ package. dhall sha256: a67c79710e278028af87b35e9320224a6b217540126b5fc7095a67ce416c0068
11+ ./ helpers/ package. dhall sha256: bdca90b462850d40f056cdca9bef76a9004a6d89477b161c89c5ae76a2223c75
1212 ? ./ helpers/ package. dhall
1313, render =
1414 ./ render/ package. dhall sha256: 102 ffaeffabf83db684c6c1ee9c30023ad080aea4a776328f6fd7d3a8d4b1309
You can’t perform that action at this time.
0 commit comments