add script to create annotation report for feature toggles (#20970)
This commit is contained in:
committed by
Michael Youngstrom
parent
658cd5c62e
commit
d66655ae8a
12
scripts/generate-feature-toggle-annotation-report.sh
Normal file
12
scripts/generate-feature-toggle-annotation-report.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# generate-feature-toggle-annotation-report.sh
|
||||
|
||||
# Generate a code annotations report for feature toggles in the platform.
|
||||
# This script is part of the feature toggle generator tool.
|
||||
|
||||
pip install -r requirements/edx/paver.txt -r requirements/edx/testing.txt
|
||||
rm -Rf reports/*
|
||||
code_annotations static_find_annotations --config_file=../$CODE_ANNOTATION_CONFIG_PATH --no_lint
|
||||
mkdir -p ../$CODE_ANNOTATION_OUTPUT_PATH
|
||||
cp reports/* ../$CODE_ANNOTATION_OUTPUT_PATH/lms-annotations.yml
|
||||
Reference in New Issue
Block a user