Skip to content

Commit

Permalink
chore: using requires and provides
Browse files Browse the repository at this point in the history
  • Loading branch information
garethjevans committed Jul 17, 2023
1 parent 60aa307 commit 5bf369a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ytt/detect.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ func (d Detect) Detect(context libcnb.DetectContext) (libcnb.DetectResult, error
Provides: []libcnb.BuildPlanProvide{
{Name: PlanEntryWatch},
},
Requires: []libcnb.BuildPlanRequire{
{Name: PlanEntryWatch},
},
},
},
}, nil
Expand Down
3 changes: 3 additions & 0 deletions ytt/detect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ func testDetect(t *testing.T, context spec.G, it spec.S) {
Provides: []libcnb.BuildPlanProvide{
{Name: "ytt"},
},
Requires: []libcnb.BuildPlanRequire{
{Name: "ytt"},
},
},
},
}))
Expand Down

0 comments on commit 5bf369a

Please sign in to comment.