Skip to content

Commit

Permalink
change package structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Adamczyk committed Jan 28, 2021
1 parent f4eb394 commit 9bc349d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import com.github.ajalt.clikt.parameters.options.option
import com.github.ajalt.clikt.parameters.options.required
import flank.scripts.ops.release.hub.deleteOldRelease

class DeleteOldReleaseCommand : CliktCommand(
object DeleteOldReleaseCommand : CliktCommand(
name = "deleteOldRelease",
help = "Delete old release on github"
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import com.github.ajalt.clikt.parameters.options.option
import com.github.ajalt.clikt.parameters.options.required
import flank.scripts.ops.release.jfrog.jFrogDeleteOldSnapshot

class DeleteOldSnapshotCommand : CliktCommand(
object DeleteOldSnapshotCommand : CliktCommand(
name = "jFrogDelete",
help = "Delete old version on bintray"
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import com.github.ajalt.clikt.parameters.options.option
import com.github.ajalt.clikt.parameters.options.required
import flank.scripts.ops.release.hub.tryDeleteOldTag

class DeleteOldTagCommand : CliktCommand(
object DeleteOldTagCommand : CliktCommand(
name = "deleteOldTag",
help = "Delete old tag on GitHub"
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ object ReleaseCommand : CliktCommand(
) {
init {
subcommands(
ReleaseFlankCommand(),
DeleteOldSnapshotCommand(),
SyncMavenCommand(),
DeleteOldReleaseCommand(),
DeleteOldTagCommand()
ReleaseFlankCommand,
DeleteOldSnapshotCommand,
SyncMavenCommand,
DeleteOldReleaseCommand,
DeleteOldTagCommand
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import com.github.ajalt.clikt.parameters.types.path
import flank.scripts.ops.release.hub.tryReleaseFlank
import kotlin.system.exitProcess

class ReleaseFlankCommand : CliktCommand(
object ReleaseFlankCommand : CliktCommand(
name = "releaseFlank",
help = "Release Flank on GitHub"
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import com.github.ajalt.clikt.parameters.options.required
import flank.scripts.ops.release.jfrog.jFrogSync
import kotlin.system.exitProcess

class SyncMavenCommand : CliktCommand(
object SyncMavenCommand : CliktCommand(
name = "jFrogSync",
help = "Sync maven repository using jfrog"
) {
Expand Down

0 comments on commit 9bc349d

Please # to comment.