Skip to content
This repository has been archived by the owner on Apr 6, 2019. It is now read-only.

Latest commit

 

History

History
53 lines (45 loc) · 1.43 KB

CONTRIBUTING.md

File metadata and controls

53 lines (45 loc) · 1.43 KB

Contributing

1. Fork the repository

2. Clone the forked repository

3. Create a new branch

# Create a new branch
git checkout -b my_new_branch

4. Build the entire library

# Install the development dependencies (GoogleTest)
./install_deps.sh
# Build the entire library as well as the tests
mkdir build
cd build
cmake .. -DBUILD_TESTS=true -DBUILD_EXAMPLES=true -DLOGGING_ENABLED=1
make
# Run tests and examples
./bin/tacopie_tests
./bin/tacopie_example

5. Code your changes

Develop your new features or bugfix.

Please:

  • follow the same coding style and convention used in the existing code
  • the library, examples and tests are all still compiling
  • ensure that all the tests are passing on your computer at every step of the development
  • add some tests if you are developing new features

You also need to use the formatting tool so that your code has the same coding style as the existing code:

# Use the formatting tool
./clang-format

7. Commit your changes

git add .
git commit -m 'some description of the changes'

You can do as many commits as you want: we will squash them into a single commit.

8. Before the Pull Request

Before submitting the pull request, ensure that:

  • your feature works as expected and is tested
  • all tests pass on both your computer and the Travis
  • you have used the formatting tool

9. Submit your Pull Request on Github