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:
Ilya Matveev
2017-03-30 13:02:45 +07:00
committed by ilmat192
parent 0cbd34086e
commit 9d64aa7153
3 changed files with 6 additions and 12 deletions
+1 -7
View File
@@ -2,7 +2,7 @@
.idea/shelf
/dependencies/all
dist
kotlin-native-*.tgz
kotlin-native-*.tar.gz
translator/src/test/kotlin/tests/*/linked
out
tmp
@@ -44,9 +44,3 @@ proto/compiler/google/src/google/protobuf/compiler/kotlin/protoc
# translator auto generated artifacts
kotstd/ll
# directory for manual debug runs
run-debug/**
!run-debug/interop
!run-debug/konanc
+4 -5
View File
@@ -277,19 +277,18 @@ task cross_dist {
task bundle(type: Tar) {
dependsOn('cross_dist')
baseName = "kotlin-native-${simpleOsName()}-${project.konanVersion}"
from("$project.rootDir/dist") {
include '**'
exclude 'dependencies'
into 'kotlin-native'
into baseName
}
from(project.rootDir) {
include 'samples/**'
into 'kotlin-native'
into baseName
}
baseName = 'kotlin-native'
appendix = simpleOsName()
destinationDir = file('.')
extension = 'tgz'
extension = 'tar.gz'
compression = Compression.GZIP
}
+1
View File
@@ -22,3 +22,4 @@ remoteRoot=konan_tests
# Download artifacts of https://teamcity.jetbrains.com/viewType.html?buildTypeId=bt345
testDataVersion=1009012:id
kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-20170310.145051-441
konanVersion=0.1