Skip to content

Commit

Permalink
Merge pull request #374 from notmu/notmu-345
Browse files Browse the repository at this point in the history
#345 Add example for conditional files.
  • Loading branch information
eed3si9n authored Apr 24, 2018
2 parents d6fa418 + b002365 commit 418b5c2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/03/00.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,21 @@ scalaVersion := "2.10.6"
\$endif\$
</pre>


These could also be used include/exclude files or directories:

```bash
src/main/g8
├── \$name__normalize\$
│   ├── \$if(jvm.truthy)\$jvm\$endif\$
│   │   └── src
│   │   └── main
│   │   └── scala
│   │   └── \$organization__packaged\$
│   │   └── \$name;format="Camel"\$.scala

```

[conditionals]: https://github.com/antlr/stringtemplate4/blob/master/doc/templates.md#conditionals

### name field
Expand Down

0 comments on commit 418b5c2

Please sign in to comment.