build: Rename bunlde archive
This patch renames the bundle to .tar.gz to work with it in dependecny downloader. Also it adds a version number in the bundle name.
This commit is contained in:
+1
-7
@@ -2,7 +2,7 @@
|
|||||||
.idea/shelf
|
.idea/shelf
|
||||||
/dependencies/all
|
/dependencies/all
|
||||||
dist
|
dist
|
||||||
kotlin-native-*.tgz
|
kotlin-native-*.tar.gz
|
||||||
translator/src/test/kotlin/tests/*/linked
|
translator/src/test/kotlin/tests/*/linked
|
||||||
out
|
out
|
||||||
tmp
|
tmp
|
||||||
@@ -44,9 +44,3 @@ proto/compiler/google/src/google/protobuf/compiler/kotlin/protoc
|
|||||||
|
|
||||||
# translator auto generated artifacts
|
# translator auto generated artifacts
|
||||||
kotstd/ll
|
kotstd/ll
|
||||||
|
|
||||||
# directory for manual debug runs
|
|
||||||
run-debug/**
|
|
||||||
!run-debug/interop
|
|
||||||
!run-debug/konanc
|
|
||||||
|
|
||||||
|
|||||||
+4
-5
@@ -277,19 +277,18 @@ task cross_dist {
|
|||||||
|
|
||||||
task bundle(type: Tar) {
|
task bundle(type: Tar) {
|
||||||
dependsOn('cross_dist')
|
dependsOn('cross_dist')
|
||||||
|
baseName = "kotlin-native-${simpleOsName()}-${project.konanVersion}"
|
||||||
from("$project.rootDir/dist") {
|
from("$project.rootDir/dist") {
|
||||||
include '**'
|
include '**'
|
||||||
exclude 'dependencies'
|
exclude 'dependencies'
|
||||||
into 'kotlin-native'
|
into baseName
|
||||||
}
|
}
|
||||||
from(project.rootDir) {
|
from(project.rootDir) {
|
||||||
include 'samples/**'
|
include 'samples/**'
|
||||||
into 'kotlin-native'
|
into baseName
|
||||||
}
|
}
|
||||||
baseName = 'kotlin-native'
|
|
||||||
appendix = simpleOsName()
|
|
||||||
destinationDir = file('.')
|
destinationDir = file('.')
|
||||||
extension = 'tgz'
|
extension = 'tar.gz'
|
||||||
compression = Compression.GZIP
|
compression = Compression.GZIP
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,3 +22,4 @@ remoteRoot=konan_tests
|
|||||||
# Download artifacts of https://teamcity.jetbrains.com/viewType.html?buildTypeId=bt345
|
# Download artifacts of https://teamcity.jetbrains.com/viewType.html?buildTypeId=bt345
|
||||||
testDataVersion=1009012:id
|
testDataVersion=1009012:id
|
||||||
kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-20170310.145051-441
|
kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-20170310.145051-441
|
||||||
|
konanVersion=0.1
|
||||||
Reference in New Issue
Block a user