Sha256: 5983e93397cca82c7c09c72b0686ac2021452ada985b0055bbe9b7c00f6cff47

Contents?: true

Size: 563 Bytes

Versions: 1

Compression:

Stored size: 563 Bytes

Contents

Feature: Exclude dirs from Git counting
  As a source code writer I want to be able to
  exclude certain files from counting

  Scenario: Simple git repo
    Given It is Unix
    Given I run bash:
      """
      git init --quiet .
      git config user.email test@zerocracy.com
      git config user.name test
      mkdir x
      echo 'hello, world!' > x/invalid.txt
      echo 'hello, world!' > valid.txt
      git add .
      git commit -qam test
      """
    When I run bin/hoc with "-e x/** -e a.txt"
    Then Exit code is zero
    And Stdout contains "1"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hoc-0.10.0 features/git_excludes.feature