Skip to content

Instantly share code, notes, and snippets.

@guilherme
Last active November 24, 2015 19:14
Show Gist options
  • Save guilherme/433ec7afc3a1e7d50594 to your computer and use it in GitHub Desktop.
Save guilherme/433ec7afc3a1e7d50594 to your computer and use it in GitHub Desktop.

Revisions

  1. guilherme revised this gist Nov 24, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion diffspec.sh
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,2 @@
    #!/bin/bash
    git log --name-only master..HEAD | grep 'spec/' | grep -v 'factories' | paste -s -d " " - | xargs spring rspec
    git log --name-only master..HEAD | grep 'spec/' | grep -v 'factories' | grep -v 'spec_helper' | paste -s -d " " - | xargs spring rspec
  2. guilherme created this gist Nov 24, 2015.
    2 changes: 2 additions & 0 deletions diffspec.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    #!/bin/bash
    git log --name-only master..HEAD | grep 'spec/' | grep -v 'factories' | paste -s -d " " - | xargs spring rspec