diff options
author | Robert Norton <rmn30@cam.ac.uk> | 2019-05-24 11:18:27 +0100 |
---|---|---|
committer | Robert Norton <rmn30@cam.ac.uk> | 2019-05-24 11:18:27 +0100 |
commit | 8f2883bc2c1674fd0cf9b1097bca333fad2448b5 (patch) | |
tree | 27400e1e8771d25f96d07411c25cb67966eb440a | |
parent | e49783404e8139b7a7bb2974af13b3d8a72da48d (diff) | |
download | sail-riscv-8f2883bc2c1674fd0cf9b1097bca333fad2448b5.zip sail-riscv-8f2883bc2c1674fd0cf9b1097bca333fad2448b5.tar.gz sail-riscv-8f2883bc2c1674fd0cf9b1097bca333fad2448b5.tar.bz2 |
Add Makefile rule to get line count.
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -168,6 +168,9 @@ ocaml_emulator/coverage_$(ARCH): ocaml_emulator/_sbuild/coverage.native mkdir ocaml_emulator/bisect && mv bisect*.out bisect/ mkdir ocaml_emulator/coverage_$(ARCH) && bisect-ppx-report -html ocaml_emulator/coverage_$(ARCH)/ -I ocaml_emulator/_sbuild/ bisect/bisect*.out +cloc: + cloc --by-file --force-lang C,sail $(SAIL_SRCS) + gcovr: gcovr -r . --html --html-detail -o index.html |