NAME

generate-OPL-set-def-list - find all set definition files in the OPL and Contrib

SYNOPSIS

generate-OPL-set-def-list

DESCRIPTION

This script will find all set definition files in the OpenProblemLibrary and Contrib subdirectories of the webwork-open-problem-library and list them in the files $WEBWORK_ROOT/htdocs/DATA/library-set-defs.json and $WEBWORK_ROOT/htdocs/DATA/contrib-set-defs.json.

Note that the webwork2 root directory is automatically detected.