Skip to content

Commit

Permalink
feat(publish): automatically write pact file on shutdown/teardown
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Jun 13, 2016
1 parent eba0324 commit ff5e832
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dsl/pact.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ func (p *Pact) Setup() *Pact {
fmt.Sprintf("--pact-specification-version %d", p.SpecificationVersion),
fmt.Sprintf("--pact-dir %s", p.PactDir),
fmt.Sprintf("--log %s/pact.log", p.LogDir),
fmt.Sprintf("--consumer %s", p.Consumer),
fmt.Sprintf("--provider %s", p.Provider),
}
client := &PactClient{Port: p.Port}
p.pactClient = client
Expand Down

0 comments on commit ff5e832

Please sign in to comment.