Skip to content

Commit

Permalink
build: Rename bunlde archive
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ilmat192 committed Mar 30, 2017
1 parent 0cbd340 commit 9d64aa7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.idea/shelf
/dependencies/all
dist
kotlin-native-*.tgz
kotlin-native-*.tar.gz
translator/src/test/kotlin/tests/*/linked
out
tmp
Expand Down Expand Up @@ -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

9 changes: 4 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9d64aa7

Please sign in to comment.