Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "flat files" still mentioned in README #151

Merged
merged 1 commit into from
May 31, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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