Fix typo destonationDir->destinationDir
This commit is contained in:
+2
-2
@@ -52,7 +52,7 @@ abstract class IncrementalCompilerRunner<
|
||||
|
||||
protected abstract fun isICEnabled(): Boolean
|
||||
protected abstract fun createCacheManager(args: Args): CacheManager
|
||||
protected abstract fun destionationDir(args: Args): File
|
||||
protected abstract fun destinationDir(args: Args): File
|
||||
|
||||
fun compile(
|
||||
allKotlinSources: List<File>,
|
||||
@@ -66,7 +66,7 @@ abstract class IncrementalCompilerRunner<
|
||||
fun rebuild(): ExitCode {
|
||||
caches.clean()
|
||||
dirtySourcesSinceLastTimeFile.delete()
|
||||
destionationDir(args).deleteRecursively()
|
||||
destinationDir(args).deleteRecursively()
|
||||
|
||||
caches = createCacheManager(args)
|
||||
// todo more optimal fix
|
||||
|
||||
+1
-1
@@ -77,7 +77,7 @@ class IncrementalJsCompilerRunner(
|
||||
override fun createCacheManager(args: K2JSCompilerArguments): IncrementalJsCachesManager =
|
||||
IncrementalJsCachesManager(cacheDirectory, reporter)
|
||||
|
||||
override fun destionationDir(args: K2JSCompilerArguments): File =
|
||||
override fun destinationDir(args: K2JSCompilerArguments): File =
|
||||
File(args.outputFile).parentFile
|
||||
|
||||
override fun calculateSourcesToCompile(caches: IncrementalJsCachesManager, changedFiles: ChangedFiles.Known, args: K2JSCompilerArguments): CompilationMode {
|
||||
|
||||
+1
-1
@@ -104,7 +104,7 @@ class IncrementalJvmCompilerRunner(
|
||||
override fun createCacheManager(args: K2JVMCompilerArguments): IncrementalJvmCachesManager =
|
||||
IncrementalJvmCachesManager(cacheDirectory, File(args.destination), reporter)
|
||||
|
||||
override fun destionationDir(args: K2JVMCompilerArguments): File =
|
||||
override fun destinationDir(args: K2JVMCompilerArguments): File =
|
||||
args.destinationAsFile
|
||||
|
||||
private var javaFilesProcessor = ChangedJavaFilesProcessor(reporter)
|
||||
|
||||
Reference in New Issue
Block a user