From 574a50228665badaa2f715dabfdd1e1f9844e0b1 Mon Sep 17 00:00:00 2001 From: Andy Waite Date: Wed, 18 Feb 2015 11:54:22 +0000 Subject: [PATCH] Re-order methods of running --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index d7ea4665..b1625cde 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,21 @@ to your [styleguide](https://github.com/mmozuras/pronto-rubocop), [are DRY](http Pronto runs the checks on a diff between the current HEAD and the provided commit-ish (default is master). +### Local Changes + +You can run Pronto locally. First, install Pronto and the runners you want to use: +```bash +gem install pronto +gem install pronto-rubocop +``` +Then navigate to the repository you want to run Pronto on, and: +```bash +git checkout feature/branch +pronto run # Pronto runs against master by default +``` + +Just run `pronto` without any arguments to see what Pronto is capable of. + ### GitHub Integration You can run Pronto as a step of your CI builds and get the results as comments @@ -92,21 +107,6 @@ formatter = Pronto::Formatter::GitlabFormatter.new Pronto.run('origin/master', '.', formatter) ``` -### Local Changes - -You can run Pronto locally. First, install Pronto and the runners you want to use: -```bash -gem install pronto -gem install pronto-rubocop -``` -Then navigate to the repository you want to run Pronto on, and: -```bash -git checkout feature/branch -pronto run # Pronto runs against master by default -``` - -Just run `pronto` without any arguments to see what Pronto is capable of. - ## Runners Pronto can run various tools and libraries, as long as there's a runner for it.