1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Introduced --noIncremental.

This commit is contained in:
Cedric Beust 2016-03-31 23:17:59 -08:00
parent 1ae9baa97d
commit a9455c92f6
3 changed files with 46 additions and 30 deletions

View file

@ -1,5 +1,6 @@
package com.beust.kobalt.internal
import com.beust.kobalt.Args
import org.testng.Assert
import org.testng.annotations.Test
import java.io.File
@ -12,7 +13,7 @@ class IncrementalManagerTest {
fun shouldSave() {
val file = File.createTempFile("kobalt-", "")
println("File: $file")
val im = IncrementalManager(file.absolutePath)
val im = IncrementalManager(Args())//, file.absolutePath)
val v = im.inputChecksumFor(TASK)
Assert.assertNull(v)
im.saveInputChecksum(TASK, "44")