-
-
Notifications
You must be signed in to change notification settings - Fork 508
/
.pre-commit-config.yaml
28 lines (28 loc) · 1.03 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
repos:
- repo: local
hooks:
- id: check_formatting
name: Run check formatting
entry: dotnet run --project Scripts -- check --pre-commit --disable-colour --no-rebuild files rewrite compile steam-build cleanupcode
language: system
verbose: true
pass_filenames: false
- id: locales_up_to_date
name: Check that translations are up to date
entry: dotnet run --project Scripts -- check --pre-commit --disable-colour localization
language: system
verbose: true
pass_filenames: false
# Uncomment this and comment the above if you prefer more full checks for each commit
# - id: check_formatting_full
# name: Run check formatting (full)
# entry: dotnet run --project Scripts -- check --pre-commit --disable-colour
# language: system
# verbose: true
# pass_filenames: false
# - id: run_simple_tests
# name: Run simple tests
# entry: dotnet test test/code_tests
# language: system
# verbose: true
# pass_filenames: false