Fix typos and remove some TODOs

This commit is contained in:
Ilya Matveev
2017-12-18 12:20:55 +07:00
committed by ilmat192
parent 45efa2d0a1
commit 2cd5bfe015
4 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ Inspect the contents of `dist/klib/platform/$target` of the distribution for the
## Availability by default
The packages from platfrom libraries are available by default. No
The packages from platform libraries are available by default. No
special link flags need to be specified to use them. `Kotlin/Native`
compiler automatically detects which of the platform libraries have
been accessed and automatically links the needed libraries.
+1 -1
View File
@@ -297,7 +297,7 @@ targetList.each { target ->
targetDefFiles(target).forEach{
defFile ->
def taskName = defFileToTaskName(target, defFile.name)
def jvmArgs = project.findProperty("platfromLibsJvmArgs") ?: "-Xmx3G"
def jvmArgs = project.findProperty("platformLibsJvmArgs") ?: "-Xmx3G"
def suffix = null
if (new PlatformInfo().isWindows())
suffix = 'bat'
+1 -1
View File
@@ -18,7 +18,7 @@ task buildSh(type: Exec) {
workingDir projectDir.canonicalPath
}
task buildSamplesWithPlatfromLibs() {
task buildSamplesWithPlatformLibs() {
dependsOn ':csvparser:build'
dependsOn ':nonBlockingEchoServer:build'
dependsOn ':objc:build'
@@ -84,8 +84,6 @@ sealed class DependencySource {
}
}
// TODO: Try to use some dependency management system (Ivy?)
// TODO: Maybe rename.
/**
* Inspects [dependencies] and downloads all the missing ones into [dependenciesDirectory] from [dependenciesUrl].
* If [airplaneMode] is true will throw a RuntimeException instead of downloading.
@@ -110,7 +108,6 @@ class DependencyProcessor(dependenciesRoot: File,
var showInfo = true
private var isInfoShown = false
// TOOO: Rename pause -> interval
private val downloader = DependencyDownloader(maxAttempts, attemptIntervalMs, customProgressCallback)
private val extractor = DependencyExtractor()