Skip to content

Commit b557f0d

Browse files
committed
Add instructions to run 'git submodule update' to get tests 21-24
in Unix/t/01_opts.t to pass. Prepare for 1.72 release.
1 parent 83ede00 commit b557f0d

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

cloc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env perl
22
# cloc -- Count Lines of Code {{{1
3-
# Copyright (C) 2006-2016 Al Danial <[email protected]>
3+
# Copyright (C) 2006-2017 Al Danial <[email protected]>
44
# First release August 2006
55
#
66
# Includes code from:
@@ -29,7 +29,7 @@
2929
# <http://www.gnu.org/licenses/gpl.txt>.
3030
#
3131
# 1}}}
32-
my $VERSION = "1.71"; # odd number == beta; even number == stable
32+
my $VERSION = "1.72"; # odd number == beta; even number == stable
3333
my $URL = "github.com/AlDanial/cloc"; # 'https://' pushes header too wide
3434
require 5.006;
3535
# use modules {{{1

tests/README

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
To run the tests:
22
cd ../Unix
33
make test
4+
5+
Tests 21 through 24 in t/01_opts.t exercise cloc's ability to work
6+
with git submodules (specifically, to ignore code in these). If
7+
you're working with a git repo clone you will need to update the
8+
submodule via
9+
git submodule init
10+
git submodule update
11+
issued within your cloc working directory to get the tests to pass.
12+
The submodule will populate the directory
13+
tests/inputs/issues/131/cloc_submodule_test/

tests/inputs/issues/131/README

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
This directory contains inputs for tests 21 through 24 in cloc/Unix/t/01_opts.t
2+
The tests exercise cloc's ability to work with git submodules (specifically,
3+
to ignore code in these). If you're working with a git repo clone you will
4+
need to update the submodule via
5+
git submodule init
6+
git submodule update
7+
issued within your cloc working directory to get the tests to pass.

0 commit comments

Comments
 (0)