Skip to content

Commit

Permalink
chore: Allow for independent auto-complete generation
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Jul 31, 2023
1 parent b020015 commit 76aac76
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fcli-other/fcli-autocomplete/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ dependencies {
//runtimeOnly 'info.picocli:picocli-codegen'
}

task dist(type: JavaExec) {
task distAutoComplete(type: JavaExec) {
dependsOn(createDistDir)
description = "Generate fcli autocomplete"
classpath(configurations.runtimeClasspath, configurations.annotationProcessor)
main 'picocli.AutoComplete'
args fcliRootCommandsClassName, "-f", "--completionScript=${distDir}/fcli_completion"
}

task dist {
dependsOn distAutoComplete
}

0 comments on commit 76aac76

Please sign in to comment.