commit | f22de9dea0501064e0a588bf18879de7027791c4 | [log] [tgz] |
---|---|---|
author | Joey Armstrong <jarmstrong@linuxfoundation.org> | Fri Apr 26 11:37:52 2024 -0400 |
committer | Joey Armstrong <jarmstrong@linuxfoundation.org> | Fri Apr 26 12:46:42 2024 -0400 |
tree | ae9b94d4cc29104c3d22f15c9db904879aa6ccc3 | |
parent | 6f046d073c74f4f74bca1c5d3fe5da9f8d9860b7 [diff] |
[VOL-5297] Add more pre-commit linters. .pre-commit-config.yaml ----------------------- o Document where the latest config file can be copied from. o [todo] install this as a git submodule -- lf/pre-commit. bin/setup.sh ------------ o Greatly simplify the installer. o No longer need to preserve makefiles/ when transitioning. o Git submodule installed into lf/onf-make/ so simply mkdir and git submodule <path>. Makefile -------- o Added convenience makefile target view used to pre-screening README.md markdown edits before publishing to the repository for final rendering/browser viewing. Signed-off-by: Joey Armstrong <jarmstrong@linuxfoundation.org> Change-Id: I946336e37253be2a6f675ed47c01005edf27c1ab
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