Skip to content

Commit 6d1a437

Browse files
author
Amanda Butler
authored
Add how to run locally to license.md
Apply changes from PR #1235 to v5.15.
1 parent 3dec0df commit 6d1a437

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/reference/contributing/guidelines/license.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,22 @@ If you decide to use a different license for your work, follow the same pattern:
103103
104104
- If more than one license applies to the source file, use an SPDX license expression (see [SPDX Specification, Appendix IV](https://spdx.org/spdx-specification-21-web-version#h.jxpfx0ykyb60)), to reflect the presence of multiple licenses in your *LICENSE.md* file and in each source file.
105105
106+
## License check in pull requests
107+
108+
We use scancode-toolkit to enforce the license in binaries and libraries. Please see "Continuous integration (CI) testing" section for more information.
109+
110+
To scan the files in the SCANCODE folder, please use:
111+
112+
```
113+
scancode --license --json-pp mbed-os.json SCANCODE
114+
```
115+
116+
Run our script to check if files confirm to this license guide:
117+
118+
```
119+
python tools/test/travis-ci/scancode-evaluate.py -f mbed-os.json
120+
```
121+
106122
## Contributing to the Mbed OS codebase
107123
108124
### Mbed OS principles

0 commit comments

Comments
 (0)