mirror of
https://github.com/mesonbuild/meson.git
synced 2026-06-24 08:48:03 +00:00
This replaces all of the Apache blurbs at the start of each file with an `# SPDX-License-Identifier: Apache-2.0` string. It also fixes existing uses to be consistent in capitalization, and to be placed above any copyright notices. This removes nearly 3000 lines of boilerplate from the project (only python files), which no developer cares to look at. SPDX is in common use, particularly in the Linux kernel, and is the recommended format for Meson's own `project(license: )` field
16 lines
378 B
Python
Executable File
16 lines
378 B
Python
Executable File
#!/usr/bin/env python3
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright 2021 The Meson development team
|
|
|
|
# Hack to make relative imports to mlog possible
|
|
from pathlib import Path
|
|
import sys
|
|
root = Path(__file__).absolute().parents[1]
|
|
sys.path.insert(0, str(root))
|
|
|
|
# Now run the actual code
|
|
from refman.main import main
|
|
|
|
if __name__ == '__main__':
|
|
raise SystemExit(main())
|