Sha256: 73bf00d225c10e7a38973d1a93865963a4f2814d6a19790ee5ad145d2b94fe80
Contents?: true
Size: 629 Bytes
Versions: 4
Compression:
Stored size: 629 Bytes
Contents
# frozen_string_literal: true desc 'Look for incremental quality issues' task :pronto do formatter = '-f github_pr' if ENV.key? 'PRONTO_GITHUB_ACCESS_TOKEN' if ENV.key? 'TRAVIS_PULL_REQUEST' ENV['PRONTO_PULL_REQUEST_ID'] = ENV['TRAVIS_PULL_REQUEST'] elsif ENV.key? 'CIRCLE_PULL_REQUEST' ENV['PRONTO_PULL_REQUEST_ID'] = ENV['CIRCLE_PULL_REQUEST'].split('/').last end sh "pronto run #{formatter} -c origin/master --no-exit-code --unstaged "\ "|| true" sh "pronto run #{formatter} -c origin/master --no-exit-code --staged || true" sh "pronto run #{formatter} -c origin/master --no-exit-code || true" end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
pronto-bigfiles-0.1.2 | rakelib/pronto.rake |
pronto-bigfiles-0.1.1 | rakelib/pronto.rake |
high_water_mark-0.1.0 | rakelib/pronto.rake |
pronto-bigfiles-0.1.0 | rakelib/pronto.rake |