Sha256: 5ffa5ad2c86289fcbe30f461b6290d466610b2975e6efd8456a7b06fc66a75fe

Contents?: true

Size: 816 Bytes

Versions: 1

Compression:

Stored size: 816 Bytes

Contents

Feature: CLI
  In order to compress all my git repos
  As a cron job writer
  I want the CLI to iterate over my repos

  Scenario: recursively search repos
    Given a checked out repo "repos1/abc"
    And a checked out repo "repos1/def/xyz"
    And a bare repo "repos2/ghi.git"
    And a bare repo "repos3/jkl.git"
    When I run `git-gc-cron repos1 repos2`
    Then the repo "repos1/abc" should be packed
    And the repo "repos1/def/xyz" should be packed
    And the repo "repos2/ghi.git" should be packed
    And the repo "repos3/jkl.git" should not be packed

  Scenario: Verbose output
    Given a checked out repo "repos1/abc"
    And a checked out repo "repos1/def/xyz"
    When I run `git-gc-cron -v repos1`
    Then the output should contain "repos1/abc"
    And the output should contain "repos1/def/xyz"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git-gc-cron-0.0.4 features/cli.feature