Add code style script and Dockerfile

This commit is contained in:
Mike Gelfand
2019-02-28 02:01:21 +03:00
parent 3cf3d6a22a
commit 85dba8c70f
4 changed files with 108 additions and 0 deletions

View File

@@ -60,3 +60,16 @@ If you're new to building programs from source code, this is typically easier th
$ cmake ..
$ make
$ sudo make install
## Contributing
### Code Style
You would want to setup your editor to make use of uncrustify.cfg and .jsbeautifyrc configuration files located in the root of this repository.
If for some reason you are unwilling or unable to do so, there is a shell script which you could run either directly or via docker-compose:
$ ./code_style.sh
or
$ docker-compose build --pull
$ docker-compose run --rm code_style