diff options
Diffstat (limited to 'sonar-ws-generator/run.sh')
-rwxr-xr-x | sonar-ws-generator/run.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sonar-ws-generator/run.sh b/sonar-ws-generator/run.sh index 58b77a09c44..f785bcb4032 100755 --- a/sonar-ws-generator/run.sh +++ b/sonar-ws-generator/run.sh @@ -1,10 +1,9 @@ #!/bin/bash - -# Example: -# run.sh /path/to/orchestrator.properties - set -euo pipefail +SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" + +cd $SCRIPTPATH mvn clean package -Prun-ws-generator java -jar target/sonar-ws-generator-*-SNAPSHOT-jar-with-dependencies.jar cp -R target/generated-sources/results/org/sonarqube/ws/client/* ../sonar-ws/src/main/java/org/sonarqube/ws/client |