Skip to content

Commit efe462d

Browse files
committed
Make example runnable
1 parent 0f32463 commit efe462d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
check-docs:
2-
# scala-cli compile README.md *.scala
3-
echo "No supported yet"
2+
scala-cli compile README.md *.scala
43

54
tests:
65
cs launch sn-vcpkg --contrib -- scala-cli curl s2n openssl zlib --rename curl=libcurl -- test .
@@ -18,8 +17,7 @@ code-check:
1817
scala-cli fmt *.scala test/*.scala --check
1918

2019
run-example:
21-
# scala-cli run README.md . -M helloWorld
22-
echo "No supported yet"
20+
cs launch sn-vcpkg --contrib -- scala-cli curl s2n openssl zlib --rename curl=libcurl -- run README.md *.scala -M helloWorld
2321

2422
pre-ci:
2523
scala-cli fmt *.scala test/*.scala

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Latest version: [![smithy4s-curl Scala version support](https://index.scala-lang
2929
For example's sake, let's say we have a smithy4s service that models one of the endpoints from https://httpbin.org, defined using [smithy4s-deriving](https://github.com/neandertech/smithy4s-deriving) (note we're using [Scala CLI](https://scala-cli.virtuslab.org) for this demo):
3030

3131
```scala
32-
//> using dep "tech.neander::smithy4s-deriving::0.0.0-SNAPSHOT"
32+
//> using dep "tech.neander::smithy4s-deriving::0.0.3"
3333
//> using platform scala-native
3434
//> using scala 3.4.2
3535
//> using option -Wunused:all

0 commit comments

Comments
 (0)