Skip to content

Commit

Permalink
All pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperancinha committed Aug 6, 2023
1 parent 68447aa commit 60712f1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,9 @@ install-linux:
sudo apt-get install curl
curl https://services.gradle.org/versions/current
local-pipeline-ktor-no-db: build-gradle-ktor-no-db
local-pipeline-ktor: build-gradle-ktor
local-pipeline-good-feel: build-gradle-good-feel
local-pipeline-plus: build-gradle-plus
local-pipeline-graal-exec: build-gradle-exec-graalvm
local-pipeline-graal-cloud: build-gradle-cloud-graalvm
local-pipeline: local-pipeline-good-feel local-pipeline-plus local-pipeline-ktor-no-db local-pipeline-ktor local-pipeline-graal-exec local-pipeline-graal-cloud
6 changes: 0 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,3 @@ buildscript {
mavenCentral()
}
}


plugins {
id("jacoco")
id( "org.jesperancinha.plugins.omni") version "0.3.1"
}
2 changes: 1 addition & 1 deletion whiskers-ktor-no-db/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
application
kotlin("multiplatform") version "1.9.0"
kotlin("plugin.serialization") version "1.8.22"
kotlin("plugin.serialization") version "1.9.0"
}

group = "org.jesperancinha.native"
Expand Down
1 change: 1 addition & 0 deletions whiskers-ktor-no-db/src/nativeMain/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ private suspend fun ApplicationCall.respondWithEntity(status: HttpStatusCode, pa
respond(status = status, paragraph.encodeParagraph())
}

@OptIn(kotlinx.cinterop.ExperimentalForeignApi::class)
fun readText(filePath: String): String {
val returnBuffer = StringBuilder()
val file = fopen(filePath, "r") ?: throw IllegalArgumentException("Cannot open input file $filePath")
Expand Down

0 comments on commit 60712f1

Please sign in to comment.