Manual work is a bug. so, have someone automate the crap out of your migrations (or w/e task you are drowning in) in script-form, and deliver it like superpowers to all your developers with a tool they already know how to use.
Brew has built in updateability.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#set -x | |
set -e | |
host='https://my-code.local' | |
if ! which jq ; then | |
echo 'jq not installed.' >&2 | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File | |
import java.util.zip.ZipEntry | |
import java.util.zip.ZipFile | |
import java.util.zip.ZipInputStream | |
object JarFileClassLocator { | |
private val classRegexp = Regex("^.*/([A-Z]+[A-Za-z0-9]${"$"})*[A-Z]+[A-Za-z0-9]*\\.class$") | |
private fun String.fileToClassRef() = dropLast(6).replace("/", ".").replace("$", ".") |