1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-25 16:07:12 -07:00

Move kobaltw under bin/ in the zip file.

This commit is contained in:
Cedric Beust 2016-03-17 23:54:20 +04:00
parent f806c18303
commit bf9024eef8
2 changed files with 3 additions and 1 deletions

2
dist/kobaltw vendored Executable file
View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
java -jar $(dirname $0)/../kobalt/wrapper/kobalt-wrapper.jar $*

View file

@ -143,7 +143,7 @@ val kobaltApp = project(kobaltPluginApi, wrapper) {
}
zip {
val dir = "kobalt-$version"
include(from("."), to("$dir"), "kobaltw")
include(from("dist"), to("$dir/bin"), "kobaltw")
include(from("$buildDirectory/libs"), to("$dir/kobalt/wrapper"),
"$projectName-$version.jar")
include(from("modules/wrapper/$buildDirectory/libs"), to("$dir/kobalt/wrapper"),