[jOOQ/jOOQ#11492] Add jbang catalog

This commit is contained in:
Max Rydahl Andersen 2021-02-22 22:54:10 +01:00
parent 6bdaee9d42
commit 796c6a7fde
2 changed files with 19 additions and 0 deletions

11
codegen.java Executable file
View File

@ -0,0 +1,11 @@
///usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS org.jooq:jooq-codegen:${jooq.version:3.14.7}
import static java.lang.System.*;
public class codegen {
public static void main(String... args) throws Exception {
org.jooq.codegen.GenerationTool.main(args);
}
}

8
jbang-catalog.json Normal file
View File

@ -0,0 +1,8 @@
{
"catalogs": {},
"aliases": {
"codegen": {
"script-ref": "codegen.java"
}
}
}