chore: run uncrustify in parallel; add package.json to web directory (#1454)

* refactor: add package.json for web client

* refactor: call uncrustify in parallel
This commit is contained in:
Charles Kerr
2020-09-20 15:41:45 -05:00
committed by GitHub
parent 92fc42ceb5
commit 54a7cac25a
14 changed files with 1130 additions and 212 deletions

6
extras/pre-commit Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env sh
[ -z "$TR_SKIP_HOOKS" ] || exit 0
root="$(git rev-parse --show-toplevel)"
exec "${root}/code_style.sh" --check