Skip to content

Commit acb7106

Browse files
committed
fix: add flamingock-cli folder to dist files and move sample to bin dir
1 parent 10f0089 commit acb7106

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

cli/flamingock-cli/build.gradle.kts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ val distImage by tasks.registering(Sync::class) {
8888
into("lib")
8989
}
9090
from("src/dist") {
91-
into(".")
91+
into("bin")
9292
}
9393
}
9494

@@ -97,7 +97,9 @@ val distZip by tasks.registering(Zip::class) {
9797
description = "Builds the ZIP distribution"
9898
dependsOn(distImage)
9999

100-
from(distImage.get().destinationDir)
100+
from(distImage.get().destinationDir) {
101+
into("flamingock-cli")
102+
}
101103

102104
archiveBaseName.set("flamingock-cli")
103105
archiveVersion.set("")
@@ -111,7 +113,9 @@ val distTar by tasks.registering(Tar::class) {
111113
description = "Builds the TAR distribution"
112114
dependsOn(distImage)
113115

114-
from(distImage.get().destinationDir)
116+
from(distImage.get().destinationDir) {
117+
into("flamingock-cli")
118+
}
115119

116120
archiveBaseName.set("flamingock-cli")
117121
archiveVersion.set("")

0 commit comments

Comments
 (0)