@@ -14,38 +14,26 @@ You should be able to use the standard [projections](https://smithy.io/2.0/guide
14
14
to trim-down or modify a model as needed before code generation instead.
15
15
16
16
## Build
17
- ### .NET
18
- 1 . Generate the Wrappers using ` polymorph `
19
- ```
20
- make polymorph_dafny polymorph_net
21
- ```
22
17
23
- 2 . Transpile the tests (and implementation) to the target runtime.
24
- ```
25
- make transpile_net
26
- ```
18
+ ### Dafny + .NET
27
19
28
- 3 . Generate the executable in the .NET and execute the tests
29
- ```
30
- make test_net
31
- ```
32
-
33
- ### Typescript
34
-
35
- Building a typescript client for SQS (to demonstrate how the Smithy plugins work):
20
+ Building a Dafny + .NET client for SQS (to demonstrate how the Smithy plugins work):
36
21
37
22
```
38
23
gradle build
39
24
```
40
25
41
- The generated client package will appear in ` build/smithyprojections/typescript -codegen ` .
26
+ The generated client package will appear in ` build/smithyprojections/sqs/source/dafny-client -codegen ` .
42
27
43
28
## Development
44
29
45
- To implement https://github.com/awslabs/polymorph/issues/151 , we want to provide a similar
30
+ To implement < https://github.com/awslabs/polymorph/issues/151 > , we provide a similar
46
31
"dafny-client-codegen" Smithy plugin that can be configured in smithy-build.json as well.
47
- It should produce a fully-formed, ready-to-build project under
48
- ` build/smithyprojections/dafny-client-codegen ` .
49
- This probably means emitting a Makefile with a subset of what's currently in the ` SharedMakefile.mk ` .
50
-
51
- The JSON configuration for this plugin will need to accept a list of target languages.
32
+ It will produce a fully-formed, ready-to-build project
33
+ under ` build/smithyprojections/sqs/source/dafny-client-codegen ` .
34
+ This will mean emitting a Makefile with a subset of what's currently in the ` SharedMakefile.mk ` ,
35
+ or alternatively to emit a Dafny project file (TBD).
36
+
37
+ For now, the plugin generates the same code files as the older CLI,
38
+ but does not generate all they build configuration files necessary to build the project.
39
+ This shortcoming will be addressed in a future update.
0 commit comments