From 9dbc892af8fb09c47400c58a775c9bb40ea9f3c5 Mon Sep 17 00:00:00 2001 From: zekro Date: Thu, 26 Apr 2018 15:36:51 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index c1001c2..27e4c44 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,22 @@ $ cgit commit -m "Added some stuff and fixed some bugs" $ git push origin dev ``` +# Preferences + +In the `preferences.h` file, you can set the location and name of the cloc generated file and some arguments which will be executed with cloc. + +> preferences.h +``` +// This will be the location and the file name of the generated file +#define CLOC_LOG_FILE "./CLOC_LOG.md" + +// Here you can define some cloc command arguments +// Defaultly, the cloc output will be saved as markdown +// excluding Markdown, JSON and XML. +// For more info about arguments, use 'cloc --help' +#define CLOC_ARGUMENTS "--md --exclude-lang=md,json,xml" +``` + ---- © 2018 Ringo Hoffmann (zekro Development) From 78a1aa58058575d74e3a438280562cdca8605898 Mon Sep 17 00:00:00 2001 From: zekro Date: Thu, 26 Apr 2018 15:37:03 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 27e4c44..100bf25 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ $ git push origin dev In the `preferences.h` file, you can set the location and name of the cloc generated file and some arguments which will be executed with cloc. > preferences.h -``` +```cpp // This will be the location and the file name of the generated file #define CLOC_LOG_FILE "./CLOC_LOG.md"