2024-01-21 12:54:02 +03:00
|
|
|
distributable:
|
|
|
|
url: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-{{version.tag}}.zip
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: SonarSource/sonar-scanner-cli
|
|
|
|
|
|
|
|
warnings:
|
|
|
|
- vendored
|
|
|
|
|
|
|
|
dependencies:
|
2024-04-19 23:59:59 +03:00
|
|
|
openjdk.org: ^21
|
2024-01-21 12:54:02 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
working-directory: sonar-scanner-{{version.tag}}
|
|
|
|
script:
|
|
|
|
- rm -rf bin/*.bat
|
|
|
|
- run: mkdir -p bin libexec
|
|
|
|
working-directory: ${{prefix}}
|
|
|
|
- cp -r ./* {{prefix}}/libexec/
|
|
|
|
- run: |
|
|
|
|
ln -s ../libexec/bin/sonar-scanner sonar-scanner
|
|
|
|
ln -s ../libexec/bin/sonar-scanner-debug sonar-scanner-debug
|
|
|
|
working-directory: ${{prefix}}/bin
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/sonar-scanner
|
|
|
|
- bin/sonar-scanner-debug
|
|
|
|
|
|
|
|
test:
|
2024-04-19 23:59:59 +03:00
|
|
|
- sonar-scanner --version | grep {{version}}
|