mirror of
https://github.com/transmission/transmission.git
synced 2025-12-19 18:08:31 +00:00
Add code style script and Dockerfile
This commit is contained in:
13
README.md
13
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user