File tree Expand file tree Collapse file tree 4 files changed +22
-0
lines changed
Expand file tree Collapse file tree 4 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 11source 'http://rubygems.org'
22
3+ gem "pact"
34gem "pact-mock_service"
45gem "pact-provider-verifier"
56gem "pact_broker-client"
Original file line number Diff line number Diff line change @@ -38,6 +38,17 @@ This version (<%= ENV.fetch('VERSION') %>) of the Pact standalone executables pa
3838<a name="pact-broker-client"></a>
3939### pact-broker client
4040
41+ <a name="pact-broker-client-publish"></a>
42+ #### publish
43+
4144```
4245<%= pact_publish_usage %>
4346```
47+
48+ <a name="pact-broker-client-can-i-deploy"></a>
49+ #### can-i-deploy
50+
51+ ```
52+ <%= pact_broker_can_i_deploy %>
53+ ```
54+
Original file line number Diff line number Diff line change 99pact_stub_service_usage = `bundle exec pact-stub-service help`
1010pact_provider_verifier_usage = `bundle exec pact-provider-verifier help`
1111pact_publish_usage = `bundle exec pact-broker help publish`
12+ pact_broker_can_i_deploy = `bundle exec pact-broker help can-i-deploy`
1213puts ERB . new ( ARGF . read ) . result ( binding )
Original file line number Diff line number Diff line change @@ -48,6 +48,15 @@ namespace :package do
4848 sh "rm -rf build/tmp"
4949 sh "rm -f build/vendor/*/*/cache/*"
5050 end
51+
52+ task :generate_readme do
53+ Bundler . with_clean_env do
54+ sh "mkdir -p build/tmp"
55+ sh "cp packaging/Gemfile packaging/Gemfile.lock build/tmp/"
56+ sh "cd build/tmp && env BUNDLE_IGNORE_CONFIG=1 bundle install --path ../vendor --without development"
57+ generate_readme
58+ end
59+ end
5160end
5261
5362file "build/traveling-ruby-#{ TRAVELING_RUBY_VERSION } -linux-x86.tar.gz" do
You can’t perform that action at this time.
0 commit comments