Merge pull request #7 from maxandersen/patch-2

proper jbang casing
This commit is contained in:
Andres Almiray
2021-06-09 11:07:04 +02:00
committed by GitHub

View File

@@ -1,9 +1,9 @@
= Jbang = JBang
Unleash the power of Java with link:https://github.com/jbangdev/jbang[jbang]. You can publish distributions as jbang Unleash the power of Java with link:https://github.com/jbangdev/jbang[jbang]. You can publish distributions as JBang
catalogs. catalogs.
Each separate executable will have its own jbang script. All executables will be collected in the same catalog. Existing Each separate executable will have its own JBang script. All executables will be collected in the same catalog. Existing
catalogs located at the target repository will be merged into a single catalog. catalogs located at the target repository will be merged into a single catalog.
Snapshots are supported, in which case executables will bear the `-snapshot` suffix in their alias. Snapshots are supported, in which case executables will bear the `-snapshot` suffix in their alias.
@@ -21,13 +21,13 @@ YAML::
packagers: packagers:
# icon:dot-circle[] # icon:dot-circle[]
jbang: jbang:
# Enables or disables Jbang. # Enables or disables JBang.
# Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`]. # Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
# Defaults to `NEVER`. # Defaults to `NEVER`.
# icon:dot-circle[] # icon:dot-circle[]
active: ALWAYS active: ALWAYS
# Directory with file templates used to prepare the Jbang distribution. # Directory with file templates used to prepare the JBang distribution.
# Defaults to `src/jreleaser/distributions/${distribution.name}/jbang`. # Defaults to `src/jreleaser/distributions/${distribution.name}/jbang`.
# If specified, path must exist. # If specified, path must exist.
# icon:dot-circle[] # icon:dot-circle[]
@@ -91,7 +91,7 @@ TOML::
# icon:dot-circle[] # icon:dot-circle[]
[packagers.jbang] [packagers.jbang]
# Enables or disables Jbang. # Enables or disables JBang.
# Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`]. # Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
# Defaults to `NEVER`. # Defaults to `NEVER`.
# icon:dot-circle[] # icon:dot-circle[]
@@ -158,7 +158,7 @@ JSON::
"packagers": { "packagers": {
// icon:dot-circle[] // icon:dot-circle[]
"jbang": { "jbang": {
// Enables or disables Jbang. // Enables or disables JBang.
// Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`]. // Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
// Defaults to `NEVER`. // Defaults to `NEVER`.
// icon:dot-circle[] // icon:dot-circle[]
@@ -241,7 +241,7 @@ Maven::
--> -->
<jbang> <jbang>
<!-- <!--
Enables or disables Jbang. Enables or disables JBang.
Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`]. Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
Defaults to `NEVER`. Defaults to `NEVER`.
icon:dot-circle[] icon:dot-circle[]
@@ -345,7 +345,7 @@ jreleaser {
packagers { packagers {
// icon:dot-circle[] // icon:dot-circle[]
jbang { jbang {
// Enables or disables Jbang. // Enables or disables JBang.
// Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`]. // Valid values are [`NEVER`, `ALWAYS`, `RELEASE`, `SNAPSHOT`].
// Defaults to `NEVER`. // Defaults to `NEVER`.
// icon:dot-circle[] // icon:dot-circle[]