13 lines
470 B
Bash
13 lines
470 B
Bash
#!/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
|
|
mkdir -p ../$SCRIPT_OUTPUT_PATH
|
|
cp reports/* ../$SCRIPT_OUTPUT_PATH/lms-annotations.yml
|