Merge pull request #11499 from maxandersen/jbang

[jOOQ/jOOQ#11492] Add jbang catalog
This commit is contained in:
Lukas Eder 2021-06-11 14:10:42 +02:00 committed by GitHub
commit bcf9f9d9f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"
}
}
}