-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1534 from disneystreaming/fix-smithy4s-output-dir
Change the smithy4sOutputDir SBT setting default value
- Loading branch information
Showing
20 changed files
with
36 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
modules/codegen-plugin/src/sbt-test/codegen-plugin/aws-specs/test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# check if smithy4sCodegen works | ||
> smithy4sCodegen | ||
$ exists target/scala-2.13/src_managed/main/scala/smithy4s/com/amazonaws/dynamodb/AttributeValue.scala | ||
$ exists target/scala-2.13/src_managed/main/smithy4s/com/amazonaws/dynamodb/AttributeValue.scala |
10 changes: 5 additions & 5 deletions
10
modules/codegen-plugin/src/sbt-test/codegen-plugin/custom-settings/test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# check if smithy4sCodegen works | ||
> show p1/smithy4sAllExternalDependencies | ||
> p1/compile | ||
$ exists p1/smithy_output/smithy4s/aws/iam/ActionPermissionDescription.scala | ||
$ exists p1/smithy_output/smithy4s/smithy4s/example/ObjectService.scala | ||
$ exists p1/smithy_output/aws/iam/ActionPermissionDescription.scala | ||
$ exists p1/smithy_output/smithy4s/example/ObjectService.scala | ||
|
||
> p2/compile | ||
$ exists p2/smithy_output/smithy4s/aws/iam/ActionPermissionDescription.scala | ||
$ exists p2/smithy_output/smithy4s/smithy4s/example/ObjectService.scala | ||
-$ exists p2/smithy_output/smithy4s/smithy4s/toexclude/StructureToExclude.scala | ||
$ exists p2/smithy_output/aws/iam/ActionPermissionDescription.scala | ||
$ exists p2/smithy_output/smithy4s/example/ObjectService.scala | ||
-$ exists p2/smithy_output/smithy4s/toexclude/StructureToExclude.scala |
4 changes: 2 additions & 2 deletions
4
modules/codegen-plugin/src/sbt-test/codegen-plugin/defaults/test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
modules/codegen-plugin/src/sbt-test/codegen-plugin/dependencies-only/test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# check if smithy4sCodegen works | ||
> p1/compile | ||
$ exists p1/smithy_output/smithy4s/aws/iam/ActionPermissionDescription.scala | ||
$ exists p1/smithy_output/aws/iam/ActionPermissionDescription.scala |
4 changes: 2 additions & 2 deletions
4
modules/codegen-plugin/src/sbt-test/codegen-plugin/extra-configs/test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# check if main sources are generated | ||
> compile | ||
$ exists target/scala-2.13/src_managed/main/scala/smithy4s/example/ExampleStruct.scala | ||
$ exists target/scala-2.13/src_managed/main/smithy4s/example/ExampleStruct.scala | ||
|
||
# check if test sources are generated | ||
> Test/compile | ||
$ exists target/scala-2.13/src_managed/test/scala/smithy4s/testexample/TestStruct.scala | ||
$ exists target/scala-2.13/src_managed/test/smithy4s/testexample/TestStruct.scala |
4 changes: 2 additions & 2 deletions
4
modules/codegen-plugin/src/sbt-test/codegen-plugin/multimodule-aws/test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# check if smithy4sCodegen works with libraries that were built with Smithy4s | ||
> show bar/smithy4sAllExternalDependencies | ||
> compile | ||
$ exists foo/target/scala-2.13/src_managed/main/scala/smithy4s/foo/Lambda.scala | ||
$ absent bar/target/scala-2.13/src_managed/main/scala/smithy4s/foo/Lambda.scala | ||
$ exists foo/target/scala-2.13/src_managed/main/smithy4s/foo/Lambda.scala | ||
$ absent bar/target/scala-2.13/src_managed/main/smithy4s/foo/Lambda.scala |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
modules/codegen-plugin/src/sbt-test/codegen-plugin/multimodule/test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
modules/codegen-plugin/src/sbt-test/codegen-plugin/scala3/test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# check if smithy4sCodegen works | ||
> compile | ||
|
||
$ exists target/scala-3.3.0/src_managed/main/scala/smithy4s/smithy4s/errors/BadRequest.scala | ||
$ exists target/scala-3.3.0/src_managed/main/scala/smithy4s/smithy4s/errors/InternalServerError.scala | ||
$ exists target/scala-3.3.0/src_managed/main/scala/smithy4s/smithy4s/errors/ErrorService.scala | ||
$ exists target/scala-3.3.0/src_managed/main/scala/smithy4s/smithy4s/errors/package.scala | ||
$ exists target/scala-3.3.0/src_managed/main/smithy4s/smithy4s/errors/BadRequest.scala | ||
$ exists target/scala-3.3.0/src_managed/main/smithy4s/smithy4s/errors/InternalServerError.scala | ||
$ exists target/scala-3.3.0/src_managed/main/smithy4s/smithy4s/errors/ErrorService.scala | ||
$ exists target/scala-3.3.0/src_managed/main/smithy4s/smithy4s/errors/package.scala | ||
|
||
# check if code can run | ||
> run |
2 changes: 1 addition & 1 deletion
2
modules/codegen-plugin/src/sbt-test/codegen-plugin/smithy-build/test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# check if smithy4sCodegen works | ||
> compile | ||
$ exists target/scala-2.13/src_managed/main/scala/smithy4s/smithy4s/example/ObjectService.scala | ||
$ exists target/scala-2.13/src_managed/main/smithy4s/smithy4s/example/ObjectService.scala | ||
$ exists target/scala-2.13/resource_managed/main/smithy4s.example.ObjectService.json | ||
> checkOpenApi |
2 changes: 1 addition & 1 deletion
2
modules/codegen-plugin/src/sbt-test/codegen-plugin/smithy-rules/test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# check if smithy4sCodegen works | ||
> compile | ||
$ exists target/scala-2.13/src_managed/main/scala/smithy4s/smithy/rules | ||
$ exists target/scala-2.13/src_managed/main/smithy4s/smithy/rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters