Skip to content

Watscob/coding_style_checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

Coding Style Checker

A tool to check certain features of the coding style in C files.

Warning If you put a file which is not a .c or .h file, the project will ignore it. Warning Do not use regex and expandable syntax such as my_dir/* or *.c

Dependencies

Required

Once you have cloned the repository, exec the following command

go get github.com/gookit/color

Instructions to use the project without compiling it

Usage

Go in the cloned directory and execute the following command

go run main.go [-v/--verbose] <directories/filenames>

# -v/--verbose print a detail report

# <directories/filenames> is a list of directories and/or filenames separed by one or more spaces

# Example:
go run main.go test.c

# or
go run main.go my_dir

Instructions to use the compiled project

Build

Go in the cloned directory and execute the following command

go build main.go

Usage

./main.go [-v/--verbose] <directories/filenames>

# -v/--verbose print a detail report

# <directories/filenames> is a list of directories and/or filenames separed by one or more spaces

# Example:
./main.go test.c

# or
./main.go my_dir

About

A tool to check certain features of the coding style in C files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages