summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-27 21:34:09 -0600
committermo khan <mo.khan@gmail.com>2020-03-30 22:28:07 -0600
commit67e1de7e57a843622a824f68e4ffb40d8b9ff320 (patch)
tree92e14683798648106e573555ed4a97658dfb7122 /run.sh
parentd0ff10b6ae1075a13827e00dd0120fac9639fde8 (diff)
Use virtualenv, pip-licenses to scan projects
* Add PIL License to list of normalized licenses * Update Python 3 v2.0 report fixture * Add CHANGELOG entry * Define local variables in bash functions * Ensure `SETUP_CMD` continues to work for python projects * build virtualenv app-data cache * Fallback to legacy scanner when SETUP_CMD is used * Extract Shell class to be able to pass custom env
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/run.sh b/run.sh
index 4020222..efa42b4 100755
--- a/run.sh
+++ b/run.sh
@@ -94,10 +94,6 @@ function prepare_project() {
fi
}
-function major_version_from() {
- echo "$1" | cut -d'.' -f1
-}
-
python_version=$(major_version_from "${LM_PYTHON_VERSION:-3}")
switch_to python "$python_version"
switch_to java "adopt-openjdk-${LM_JAVA_VERSION:-8}"