commit | 6f046d073c74f4f74bca1c5d3fe5da9f8d9860b7 | [log] [tgz] |
---|---|---|
author | Joey Armstrong <jarmstrong@linuxfoundation.org> | Mon Apr 22 13:29:56 2024 -0400 |
committer | Joey Armstrong <jarmstrong@linuxfoundation.org> | Fri Apr 26 11:29:51 2024 -0400 |
tree | 5aa4a0de34849c98dd4239ae7cc3383f4099d1c7 | |
parent | a5d867938f0728523bcb84841ccc5625cd28b76a [diff] |
[VOL-5297] Add more pre-commit hooks and git submodule install helpers. makefiles/consts.mk ------------------- o Define macro $(comma) for use in rules (helps avoid delimiter problems). install/include.mk install/README.md ------------------ o Common files installed by bin/setup.sh. o Copy into a repositry when repo:onf-make is added as a git submodule. .pre-commit-config.yaml ----------------------- o Include more pre-commit hooks for checking. o Added in voltha-lib-go, voltha-docs and others. o Include here for central mgmt. [HOWTO: test] % make venv % source .venv/bin/activate % pre-commit Change-Id: I15bb814b7d75a450d34af448cb88344d3922c907 Signed-off-by: Joey Armstrong <jarmstrong@linuxfoundation.org>
This repository contains common makefile logic and targets that can be used to build arbitrary repositories. Makefile logic is currently being consumed by the VOLTHA project
Two distinct sets of makefiles are needed to support builds:
The first is a subdir of makefiles/ named 'onf-make'
The second makefile directory contains repository/project specific logic:
Most makefile logic can be parameterized and implemented to support reuse. Consider adding enhancements or refactoring local/ makefile logic into repo:onf-make so all makefiles can leverage it.
% tree --charset=ascii -n Makefile config.mk makefiles/ |-- include.mk |-- local | |-- include.mk | | | |-- doc8 | | | | |-- doc8.ini (alas only one --config switch allowed) |-- [onf-make: git-submodule](https://github.com/opencord/onf-make) | |-- makefiles | | |-- consts.mk | | |-- include.mk | | |-- lint | | | |-- doc8 Syntax check ReStructuredText (rst) files | | | |-- groovy | | | |-- python | | | |-- robot.mk Syntax check robot testing framework | | | |-- shell.mk Invoke shellcheck command on scripts | | | |-- yaml Syntax check yaml configs
Ascii art was rendered using
README.md can be rendered locally using