Skip to content

Commit

Permalink
Merge pull request #151 from vshn/fix/readme-templates-no-flatfiles
Browse files Browse the repository at this point in the history
Fix "flat files" still mentioned in README
  • Loading branch information
rnelson0 authored May 31, 2018
2 parents d07ea40 + 3094b50 commit 6172666
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ Available parameters for modulesync.yml

##### Example

###### Github
###### GitHub

```yaml
---
Expand All @@ -276,7 +276,7 @@ pr_labels:
- MODULESYNC
```
###### Gitlab
###### GitLab
```yaml
---
Expand Down Expand Up @@ -379,9 +379,9 @@ current date, bumped (minor) version, and commit message.
If `CHANGELOG.md` is absent in the repository, nothing will happen.
#### Defining templates
#### Working with templates
As commented, files within moduleroot directory can be flat files or ERB templates. These files have direct access to @configs hash, which gets values from config_defaults.yml file and from the module being processed:
As mentioned, files in the moduleroot directory must be ERB templates (they must have an .erb extension, or they will be ignored). These files have direct access to @configs hash, which gets values from config_defaults.yml file and from the module being processed:
```erb
<%= @configs[:git_base] %>
Expand Down

0 comments on commit 6172666

Please sign in to comment.