Skip to content

Commit eb2fe20

Browse files
committed
Merge remote-tracking branch 'origin/master'
# Conflicts: # README.md
2 parents 05a56ad + 49e69e2 commit eb2fe20

File tree

7 files changed

+28
-4
lines changed

7 files changed

+28
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# kotlin-unsigned.unsigned
1+
# kotlin-unsigned
22

3-
unsigned.unsigned support for Kotlin via boxed types
3+
unsigned support for Kotlin via boxed types and simply primitives

kobalt/src/Build.kt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
import com.beust.kobalt.*
3+
4+
val p = project {
5+
name = "kotlin-unsigned"
6+
group = "elect86"
7+
artifactId = name
8+
version = "0.1"
9+
10+
dependenciesTest {
11+
compile("io.kotlintest:kotlintest:1.3.5")
12+
}
13+
14+
test {
15+
include("**/*.class")
16+
}
17+
}

kobalt/wrapper/kobalt-wrapper.jar

11 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
kobalt.version=0.914

kobaltw

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env sh
2+
java -jar "`dirname "$0"`/kobalt/wrapper/kobalt-wrapper.jar" $*

kobaltw.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
set DIRNAME=%~dp0
3+
if "%DIRNAME%" == "" set DIRNAME=.
4+
java -jar "%DIRNAME%/kobalt/wrapper/kobalt-wrapper.jar" %*

src/test/kotlin/unsigned/unsigned.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import java.math.BigInteger
1111
*/
1212

1313
@RunWith(KTestJUnitRunner::class)
14-
class unsigned : StringSpec() {
14+
class Unsigned : StringSpec() {
1515

1616
val Int.b
1717
get() = toByte()
@@ -555,4 +555,4 @@ class unsigned : StringSpec() {
555555
(65_500 >= Ushort(65_500)) shouldBe true
556556
}
557557
}
558-
}
558+
}

0 commit comments

Comments
 (0)