Sha256: 6040805892628684ec034d4af92b6e1cfef78932c0fff40b9a22cadeeaf34015
Contents?: true
Size: 458 Bytes
Versions: 4
Compression:
Stored size: 458 Bytes
Contents
require_relative "base" module Bulldozer class CiGenerator < Generators::Base def simplecov_test_integration inject_into_file "spec/spec_helper.rb", before: 'SimpleCov.start "rails"' do <<-RUBY if ENV["CIRCLE_ARTIFACTS"] dir = File.join(ENV["CIRCLE_ARTIFACTS"], "coverage") SimpleCov.coverage_dir(dir) end RUBY end end def configure_ci template "circle.yml.erb", "circle.yml" end end end
Version data entries
4 entries across 4 versions & 1 rubygems