These are scripts you can copy to your repo in order to use cms-meta-tools functions. In almost all cases you can copy them as-is with no edits required.
-
Copy all of the scripts in this directory into the root of your repo and make them executable.
-
The first step of your repo build should run runBuildPrep.sh
-
The second step of your repo build should run runLint.sh
That's it. If you need to customize the behavior of any of the tools being used, see the individual tool for details on how to provide it with a configuration file, or look at another CMS repo which is already using it.
This script is required for any of the other sample scripts to work. Its job is to find the latest stable version of the cms-meta-tools RPM and extract its contents into a subdirectory of your current directory. Even though cms-meta-tools is packaged as an RPM, it does not install itself onto the global system. And even though this RPM may be in a location with an OS version in the path, it only consists of scripts and is largely OS-agnostic.
Wrapper that calls the cms-meta-tools runBuildPrep.sh script. It exits with a non-0 exit code on error.
Wrapper that calls the cms-meta-tools runLint.sh script. It exits with a non-0 exit code on error.