mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/sonarqube.org/sonarscanner/package.yml
This commit is contained in:
parent
da432e2e5c
commit
1ecfb80139
1 changed files with 30 additions and 0 deletions
30
projects/sonarqube.org/sonarscanner/package.yml
Normal file
30
projects/sonarqube.org/sonarscanner/package.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
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:
|
||||||
|
openjdk.org: ^20
|
||||||
|
|
||||||
|
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:
|
||||||
|
- sonar-scanner --version | grep {{version}}
|
Loading…
Reference in a new issue