Skip to content

Commit a82727b

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

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ test/ci-relay: p2p-tools
5656
@echo "Running CI relay test..."
5757
./tests/ci-relay-test.sh
5858

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+
5967
dist: stack npm rt p2p-tools lib
6068
rm -rf ./build/
6169
mkdir -p ./build/Troupe/rt/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)