Sha256: 67054c827c5c031d48c6ef550d6b1c49b035f0b8c450fe64823d84ab5782eef1

Contents?: true

Size: 559 Bytes

Versions: 5

Compression:

Stored size: 559 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@teamed.io
      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

5 entries across 5 versions & 1 rubygems

Version Path
hoc-0.9.0 features/git_excludes.feature
hoc-0.8.1 features/git_excludes.feature
hoc-0.8 features/git_excludes.feature
hoc-0.7.3 features/git_excludes.feature
hoc-0.7.2 features/git_excludes.feature