-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevpackage.json
90 lines (90 loc) · 2.9 KB
/
devpackage.json
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"$schema": "https://raw.githubusercontent.com/wequick/devpm/main/devpackage.schema.json",
"version": "1.2.0",
"vscodeDependencies": {
"ms-vscode.cpptools-extension-pack": "",
"wequick.filegen": "",
"wequick.coverage-gutters": "",
"mine.cpplint": "",
"ms-python.pylint": ""
},
"vscodeUserSettings": {
"cpplint.cpplintPath": "$pip.which:cpplint",
"cmake.cmakePath": "$bash.which:cmake"
},
"pythonDependencies": {
"gcovr": "4.2",
"cpplint": "1.6.1",
"pre-commit": "3.3.3",
"git-changelog": "2.0.0",
"toml": "0.10.2"
},
"bashDependencies": {
"OpenCppCoverage": {
"win32": "https://github.com/OpenCppCoverage/OpenCppCoverage/releases/download/release-0.9.9.0/OpenCppCoverageSetup-x64-0.9.9.0.exe"
},
"cppcheck": {
"win32": "https://github.com/danmar/cppcheck/releases/download/2.11/cppcheck-2.11-x64-Setup.msi",
"linux": "apt-get install cppcheck",
"darwin": "brew install cppcheck"
}
},
"gitHooks": {
"commit-msg": {
"type": "regexp",
"pattern": [
"^(feat|fix|refactor|chore|test|style|docs)",
"^(Merge)",
"^\\d+\\.\\d+\\.\\d+$"
],
"tips": [
"Invalid commit message style, please format as following:",
" fix: some msg",
" ^^^^ Type: feat|fix|refactor|chore|test|style|docs",
" ^^^^^^^^ Summary in present tense",
"Type:",
" feat : new feature for the user, not a new feature for build script",
" fix : bug fix for the user, not a fix to a build script",
" docs : changes to the documentation",
" style : formatting, missing semi colons, etc; no production code change",
" refactor : refactoring production code, eg. renaming a variable",
" test : adding missing tests, refactoring tests; no production code change",
" chore : updating grunt tasks etc; no production code change",
"",
"See <https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716> for more details.",
""
]
},
"pre-commit": {
"type": "pre-commit",
"repos": [
{
"repo": "https://github.com/pocc/pre-commit-hooks",
"rev": "v1.3.5",
"hooks": [
{
"id": "cpplint"
},
{
"id": "cppcheck",
"args": [
"--suppress=missingInclude",
"--suppress=missingIncludeSystem",
"--std=c++14",
"--force"
]
}
]
}
]
}
},
"scripts": {
"prestart": "echo prestart",
"start": "echo prestart",
"poststart": "echo poststart",
"preversion": "echo preversion $devpackage.version",
"version": "python example/version.py $devpackage.version",
"postversion": "echo postversion $devpackage.version"
}
}