mirror of
https://github.com/ethauvin/bld.git
synced 2025-04-26 08:37:11 -07:00
Update core submodule.
This commit is contained in:
parent
c481625216
commit
b5bacbf9cf
2 changed files with 31 additions and 1 deletions
2
core
2
core
|
@ -1 +1 @@
|
||||||
Subproject commit 850dbb2eb87ae2747a00526dbf9f14cea3847c5d
|
Subproject commit a59f1ccb6430b81b8c2eb1016069ab3e3a50fac8
|
30
src/main/java/rife/bld/help/PublishLocalHelp.java
Normal file
30
src/main/java/rife/bld/help/PublishLocalHelp.java
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2001-2023 Geert Bevin (gbevin[remove] at uwyn dot com)
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License")
|
||||||
|
*/
|
||||||
|
package rife.bld.help;
|
||||||
|
|
||||||
|
import rife.bld.CommandHelp;
|
||||||
|
import rife.tools.StringUtils;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Provides help for the publish command.
|
||||||
|
*
|
||||||
|
* @author Geert Bevin (gbevin[remove] at uwyn dot com)
|
||||||
|
* @since 1.5.7
|
||||||
|
*/
|
||||||
|
public class PublishHelp implements CommandHelp {
|
||||||
|
public String getSummary() {
|
||||||
|
return "Publishes the artifacts of your project";
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDescription(String topic) {
|
||||||
|
return StringUtils.replace("""
|
||||||
|
Publishes the artifacts of the project to the publication
|
||||||
|
repository.
|
||||||
|
The standard publish command will automatically also execute
|
||||||
|
the jar, jar-sources and jar-javadoc commands beforehand.
|
||||||
|
|
||||||
|
Usage : ${topic}""", "${topic}", topic);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue