Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:zekroTJA/gitpluscloc
Browse files Browse the repository at this point in the history
  • Loading branch information
zekroTJA committed Apr 26, 2018
2 parents 8bd7605 + 78a1aa5 commit a7c1d1e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```cpp
// 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)
Expand Down

0 comments on commit a7c1d1e

Please sign in to comment.