forked from asterinas/asterinas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.licenserc.yaml
49 lines (46 loc) · 1.6 KB
/
.licenserc.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
# This is the configuration file for github action License Eye Header. The action is used
# to check that each source file contains the license header lines. For the configuration
# details, see https://github.com/marketplace/actions/license-eye-header#configurations.
header:
# Files are licensed under MPL-2.0, by default.
- paths:
- '**/*.rs'
- '**/*.S'
- '**/*.s'
- '**/*.c'
- '**/*.h'
- '**/*.sh'
- '**/Makefile'
- '**/Dockerfile.*'
paths-ignore:
# These directories are licensed under licenses other than MPL-2.0.
- 'kernel/libs/comp-sys/cargo-component'
license:
content: |
SPDX-License-Identifier: MPL-2.0
language:
# License Eye Header cannot recognize files with extension .S, so we add
# the definition here.
Assembly:
extensions:
- ".S"
comment_style_id: SlashAsterisk
# Files under cargo-component are licensed under Apache-2.0 or MIT license.
- paths:
- 'kernel/libs/comp-sys/cargo-component/**'
paths-ignore:
- '**/*.md'
- '**/*.toml'
- 'Cargo.lock'
- '.gitignore'
# These directories do not contain test source code and are just for test input.
- '**/tests/duplicate_lib_name_test/**'
- '**/tests/missing_toml_test/**'
- '**/tests/reexport_test/**'
- '**/tests/regression_test/**'
- '**/tests/trait_method_test/**'
- '**/tests/violate_policy_test/**'
license:
content: |
Licensed under the Apache License, Version 2.0 or the MIT License.
Copyright (C) 2023-2024 Ant Group.