Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol committed Jul 16, 2024
1 parent f5188de commit baa1d34
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
3 changes: 0 additions & 3 deletions curl_macros.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

Expand Down
1 change: 0 additions & 1 deletion smithy4s-curl.test.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

//@annotation.experimental
//object IntegrationTest extends IOSuite:
// val service = API.service[IOService]
Expand Down
2 changes: 1 addition & 1 deletion test/unit.test.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit baa1d34

Please sign in to comment.