dotfiles/.local/bin/scripts/kover
xeruf 4b1a2f91db bin: extend usecases handled by some scripts
- git-fuzz can also handle deletions
- kover takes a parameter
2022-05-24 19:45:23 +02:00

6 lines
408 B
Bash
Executable file

#!/bin/sh
# Prints the latest Gradle and Kotlin versions
highlight "Kotlin"
curl https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/maven-metadata.xml 2>/dev/null | grep 'version>' | grep -iv '\(m\|rc\)' | sed 's/.*>\(.*\)<.*/\1/' | tail -${1:-6}
highlight "Gradle"
curl https://services.gradle.org/distributions/ 2>/dev/null | grep 'name.*all.*sha' | grep -v rc | head -${1:-6} | cut -d- -f2