commit | ccab2cf3fae8eba44577287c1b396ccb4861ecc9 | [log] [tgz] |
---|---|---|
author | Joey Armstrong <jarmstrong@linuxfoundation.org> | Sat Apr 06 18:00:59 2024 -0400 |
committer | Joey Armstrong <jarmstrong@linuxfoundation.org> | Sat Apr 06 18:00:59 2024 -0400 |
tree | 00b79a2b463123cbe42a932016224ab19b6b2c37 | |
parent | 9d0f1acad52a49d403bc75eac9ca4d35bf7a8ee1 [diff] |
Misc cleanups, add installer for lint-groovy makefiles/npm/README.md makefiles/npm/include.mk makefiles/npm/nvm.mk makefiles/npm/npm.mk ------------------------- o Genreate targets and deps for installing tools nvm, npm and npm-groovy-lint. o Tools are intended for interactive use. o npm-groovy-lint is a dependency for the lint-groovy target config.mk .gitignore ---------- o Add exclusion lf/onf-make for repo:onf-make git submodule. o Add exclusion for .tmp (makefiles/nvm/nvm.mk) makefiles/lint/groovy/groovy.mk makefiles/lint/groovy/include.mk makefiles/lint/groovy/install.mk -------------------------------- o Update targets to latest lint-{language}-{all,mod,src} syntax. o Installer updated to depend on npm/nvm.mk target 'npm-groovy-install'. makefiles/lint/make/makefile.mk makefiles/lint/json.mk makefiles/lint/python/flake8.mk makefiles/lint/shell/shellcheck.mk makefiles/lint/yaml.mk ------------------------ o Simplify find command exclusions. o Use "-not -path [p]" in place of "( -name p ) -prune". makefiles/main/tempdir/tempdir.mk --------------------------------- o Fixed a typo $(HELP) -> $(HIDE) makefiles/lint/doc8/doc8.ini ------------------------------- o Add directory exclusions from onf-excl-dir=. o Remove txt from the list of file extensions to check repo:voltha-docs is the only repo with *.txt files that contain restructuredText so add the extension in the local per-repository config. Signed-off-by: Joey Armstrong <jarmstrong@linuxfoundation.org> Change-Id: Ia2e091d812af82063c79ed855bc7dd4f5ec8f706
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