Commit 6c607f9d authored by Boris Baldassari's avatar Boris Baldassari
Browse files

Fix ort exec script for clearlydefined curations.

parent b36ef414
......@@ -11,7 +11,7 @@
###########################################################################
# Get the path of the scripts/ directory.
ORT_ECLIPSE=$(dirname $(readlink -f "$0"))
ORT_ECLIPSE_SCRIPTS=$(dirname $(readlink -f "$0"))
# Check parameters
die () {
......@@ -77,6 +77,7 @@ time ort scan -f JSON \
-i $DIR_OUT/analyzer-result.json -o $DIR_OUT | tee -a $LOG
echo "* Finish scanner at $(date +'%Y-%m-%d %H:%M')" | tee -a $LOG
echo "* Start evaluator at $(date +'%Y-%m-%d %H:%M')" | tee -a $LOG
time ort evaluate -f JSON \
--rules-file ${ORT_CONFIG_DIR}/evaluator.rules.kts \
......@@ -86,7 +87,7 @@ time ort evaluate -f JSON \
echo "* Finish evaluator at $(date +'%Y-%m-%d %H:%M')" | tee -a $LOG
# Parse JSON evaluation report, get clearlydefined data and create curations file.
$ORT_ECLIPSE/curations_clearly_defined.yml -i $DIR_OUT/evaluation-result.json -o ${ORT_CONFIG_DIR}/curations/clearlydefined_curations.yml
$ORT_ECLIPSE_SCRIPTS/curate_clearlydefined.py -i $DIR_OUT/evaluation-result.json -o ${ORT_CONFIG_DIR}/curations/clearlydefined_curations.yml
echo "* Start reporter at $(date +'%Y-%m-%d %H:%M')" | tee -a $LOG
time ort report \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment