Added code formatting

This commit is contained in:
Jef Roosens 2021-04-02 21:20:36 +02:00
parent 68434ca75f
commit e3f134a9bf
Signed by: Jef Roosens
GPG key ID: B580B976584B5F30
10 changed files with 40 additions and 52 deletions

View file

@ -1,6 +1,7 @@
#!/usr/bin/env bash
# This hook lints the code, and if we're on develop or master, also forces the tests to pass.
cargo fmt -- --check
branch=`git rev-parse --abbrev-ref HEAD`