Skip to content

Commit 04f6e60

Browse files
committed
Add a CLOC definition of Troupe
This is (for now?) a mere copy of the SML definition
1 parent ae3b361 commit 04f6e60

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,15 @@ test/ci-relay: p2p-tools
5656
@echo "Running CI relay test..."
5757
./tests/ci-relay-test.sh
5858

59-
dist: stack npm rt p2p-tools lib
59+
CLOC_DIR=.
60+
cloc:
61+
cloc --read-lang-def=cloc.txt $(CLOC_DIR)
62+
cloc/lib:
63+
$(MAKE) cloc CLOC_DIR=lib
64+
cloc/test:
65+
$(MAKE) cloc CLOC_DIR=tests
66+
67+
DIST: stack npm rt p2p-tools lib
6068
rm -rf ./build/
6169
mkdir -p ./build/Troupe/rt/built
6270
mkdir -p ./build/Troupe/p2p-tools/built

cloc.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
Troupe
3+
filter remove_between_general (* *)
4+
extension trp
5+
extension pico
6+
extension picox
7+
3rd_gen_scale 3.00

0 commit comments

Comments
 (0)