diff --git a/Makefile b/Makefile index 0d73837..9f5d680 100644 --- a/Makefile +++ b/Makefile @@ -15,13 +15,14 @@ publish: scala-cli publish . -S 3.3.3 --signer gpg --gpg-key 15A7215B6CD4016A code-check: - scala-cli fmt . --check + scala-cli fmt *.scala test/*.scala --check run-example: - scala-cli run README.md . -M helloWorld + # scala-cli run README.md . -M helloWorld + echo "No supported yet" pre-ci: - scala-cli fmt . + scala-cli fmt *.scala test/*.scala smithy4s: cd test && \ diff --git a/curl_macros.scala b/curl_macros.scala index 700beca..320e52e 100644 --- a/curl_macros.scala +++ b/curl_macros.scala @@ -22,7 +22,6 @@ inline def checkTry(inline expr: => CURLcode): Try[CURLcode] = ${ private def checkTryImpl(expr: Expr[CURLcode])(using Quotes ): Expr[Try[CURLcode]] = - '{ val code = $expr @@ -42,7 +41,6 @@ end checkTryImpl inline def check(inline expr: => CURLcode): CURLcode = ${ checkImpl('expr) } private def checkImpl(expr: Expr[CURLcode])(using Quotes): Expr[CURLcode] = - '{ val code = $expr @@ -65,7 +63,6 @@ case class CurlUrlParseException(code: CURLUcode, msg: String) inline def checkU(inline expr: => CURLUcode): CURLUcode = ${ checkUImpl('expr) } private def checkUImpl(expr: Expr[CURLUcode])(using Quotes): Expr[CURLUcode] = - '{ val code = $expr diff --git a/smithy4s-curl.test.scala b/smithy4s-curl.test.scala index 7d87ec0..2e141e1 100644 --- a/smithy4s-curl.test.scala +++ b/smithy4s-curl.test.scala @@ -1,4 +1,3 @@ - //@annotation.experimental //object IntegrationTest extends IOSuite: // val service = API.service[IOService] diff --git a/test/unit.test.scala b/test/unit.test.scala index 94e7b3a..9b5626d 100644 --- a/test/unit.test.scala +++ b/test/unit.test.scala @@ -50,4 +50,4 @@ object UnitTest extends weaver.FunSuiteIO: enc(uri.copy(queryParams = Map.empty, path = Vector("1", "2", "3"))), "https://localhost:9999/1/2/3" ) - +end UnitTest