-
Notifications
You must be signed in to change notification settings - Fork 7
/
.licence-config.yaml
98 lines (92 loc) · 2.32 KB
/
.licence-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
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
91
92
93
94
95
96
97
98
files:
"**/*.ts":
# Header comment with default license text
header:
startBlock: "/* "
linePrefix: " * "
endBlock: " */"
"**/*.rs":
header:
startBlock: "/* "
linePrefix: " * "
endBlock: " */"
"**/*.java":
header:
startBlock: "/* "
linePrefix: " * "
endBlock: " */"
"**/*.kt":
header:
startBlock: "/* "
linePrefix: " * "
endBlock: " */"
"**/*.[ch]":
header:
startBlock: "/* "
linePrefix: " * "
endBlock: " */"
"**/*.[ch]pp":
header:
startBlock: "/* "
linePrefix: " * "
endBlock: " */"
"**/*.swift":
header:
startBlock: "/* "
linePrefix: " * "
endBlock: " */"
"**/*.mm":
header:
startBlock: "/* "
linePrefix: " * "
endBlock: " */"
"**/CMakeLists.txt":
header:
startBlock: "#"
linePrefix: "# "
endBlock: "#"
package.json:
# Forced & default JSON key values for package.json
json:
force:
license: "{SPDX}"
defaults:
homepage: "{HOMEPAGE}"
description: "{DESCRIPTION}"
sortPackage: true
# License file in the same directory as package.json
siblingLicenseFile:
name: "LICENSE"
README.md:
# Footer section with custom license text (link to license file)
footer:
startBlock: "\n\n## License\n\n"
linePrefix: ""
endBlock: ""
license: "[{SPDX}]({LICENSE_URL})"
ignore:
- ".git"
- ".vscode"
- cpp_modules
- build
- target
- node_modules
- test
- ./**/generated
- ./**/templates
# Default license text
license: |
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/
# Values here will be replaced in `license` and `json` settings
substitutions:
# `{YEARS}` will evaluate to `end` if `start` == `end`, and to `start–end` otherwise
YEARS:
start: 2024
# `{CURRENT_YEAR}` will evaluate to… 🥁… the current year
end: CURRENT_YEAR
DESCRIPTION: "Uniffi bindings generator for calling Rust from React Native"
HOMEPAGE: https://github.com/jhugman/uniffi-bindgen-react-native
LICENSE_URL: https://github.com/jhugman/uniffi-bindgen-react-native/blob/main/LICENSE
SPDX: MPL-2.0