mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/ktlint.github.io/package.yml
This commit is contained in:
parent
bf0f9ede67
commit
b6bf3f4027
1 changed files with 24 additions and 0 deletions
24
projects/ktlint.github.io/package.yml
Normal file
24
projects/ktlint.github.io/package.yml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/pinterest/ktlint/releases/download/{{version}}/ktlint-{{version}}.zip
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: pinterest/ktlint
|
||||||
|
|
||||||
|
warnings:
|
||||||
|
- vendored
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
openjdk.org: ^20
|
||||||
|
|
||||||
|
build:
|
||||||
|
- mkdir -p {{prefix}}/bin
|
||||||
|
- cp ktlint-{{version}}/bin/ktlint {{prefix}}/bin/
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/ktlint
|
||||||
|
|
||||||
|
test:
|
||||||
|
- ktlint --version | grep {{version}}
|
||||||
|
- echo 'fun main( ) {}' > Main.kt
|
||||||
|
- ktlint -F Main.kt
|
||||||
|
- cat Main.kt | grep 'fun main() {}'
|
Loading…
Reference in a new issue