Skip to content

team5499/frc-2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

381605c · Apr 30, 2019

History

42 Commits
Jan 5, 2019
Jan 5, 2019
Feb 17, 2019
Jan 5, 2019
Apr 30, 2019
Jan 5, 2019
Feb 5, 2019
Jan 5, 2019
Jan 6, 2019
Jan 5, 2019
Mar 25, 2019
Jan 5, 2019
Jan 5, 2019
Jan 5, 2019
Jan 5, 2019
Jan 5, 2019
Jan 5, 2019
Jan 5, 2019
Jan 5, 2019

Repository files navigation

frc-2019

Getting started

Pre-commit

First, install the project's pre-commit hooks (do this immediately after cloning!)

./gradlew install_hooks

Pre-commit hooks are programs that check the files you've changed each time you make a new commit. They will prevent you from checking in things like invalid JSON, code that fails the Kotlin linter, and more.

Testing

To test your code, run:

./gradlew test

Test frequently and always test before deploying code to a roboRIO. Running tests will also run pre-commit on all of the files in the repo.

Deploying

To deploy your code, run:

./gradlew deploy

Troubleshooting

False positives from the detekt-wrapper hook

detekt helps catch common code smells in your program. If you encounter a false positive, you have two options: