-
Notifications
You must be signed in to change notification settings - Fork 9
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 #22 from gruntwork-io/passing-types
Fix bug with passing lists and maps to dependencies
- Loading branch information
Showing
4 changed files
with
57 additions
and
2 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
12 changes: 12 additions & 0 deletions
12
...xamples-expected-output/dependencies-recursive/java-project/com/acme/example/Example.java
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.acme.example | ||
|
||
import com.google.common.collect.ImmutableMap; | ||
|
||
public class Example { | ||
public static final int EXAMPLE_INT_CONSTANT = 42 | ||
public static final Map<> EXAMPLE_MAP = ImmutableMap.of("key1", "value1", "key2", "value2", "key3", "value3"); | ||
|
||
public enum ExampleEnum { | ||
Foo, Bar, Baz | ||
} | ||
} |
17 changes: 15 additions & 2 deletions
17
test-fixtures/examples-var-files/dependencies-recursive/vars.yml
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,8 +1,21 @@ | ||
Version: 0.0.3 | ||
Title: Recursive dependencies example | ||
WelcomeText: Welcome! | ||
Description: This is a boilerplate template that shows an example of using recursive dependencies | ||
|
||
dependencies.Title: Dependencies example | ||
dependencies.Description: This is a boilerplate template that shows an example of using dependencies | ||
dependencies.website.Title: Boilerplate | ||
dependencies.docs.Title: Docs example | ||
WelcomeText: Welcome! | ||
Description: This is a boilerplate template that shows an example of using recursive dependencies | ||
|
||
java-project.CompanyName: acme | ||
java-project.ExampleIntConstant: 42 | ||
java-project.IncludeEnum: true | ||
java-project.EnumNames: | ||
- Foo | ||
- Bar | ||
- Baz | ||
java-project.ExampleMap: | ||
key1: value1 | ||
key2: value2 | ||
key3: value3 |
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