Sha256: 84b2eb1bbf1486eb0f2dc2382311ba93611e6142b6ad3ef360be41d37e76ed9f
Contents?: true
Size: 743 Bytes
Versions: 2
Compression:
Stored size: 743 Bytes
Contents
#!/usr/bin/env ruby require 'fileutils' include FileUtils # path to your application root. APP_ROOT = File.expand_path('..', __dir__) def system!(*args) puts "Run: #{args.join(' ')}" system(*args) || abort("\n== Command #{args} failed ==") end chdir APP_ROOT do puts "\n== Installing dependencies ==" system! 'gem install bundler --conservative' system('bundle check') || system!('bundle install') # Create an non-trivial git repository, to augment test payload information. system! 'git init' system! 'GIT_AUTHOR_NAME="Test Author" GIT_AUTHOR_EMAIL=author@local.test ' \ 'GIT_COMMITTER_NAME="Test Committer" GIT_COMMITTER_EMAIL=committer@local.test ' \ 'git commit --allow-empty -m "Test message"' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-0.51.1 | integration/apps/rspec/bin/setup |
ddtrace-0.51.0 | integration/apps/rspec/bin/setup |