Support for conditionals
See original GitHub issueI’d like to write something like this in my templates:
$if(useSpecs2)$
libraryDependencies ++= Seq(
"org.specs2" %% "specs2-core" % "2.4.12",
"org.specs2" %% "specs2-html" % "2.4.12"
)
$endif$
Leveraging ST4’s support for conditions: https://theantlrguy.atlassian.net/wiki/display/ST4/Templates#Templates-conditionals
Is this already possible and I don’t see how?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:15
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Supporting Conditional Premises
1) Start the evidence with assuming A to be the case and show that from A you can derive B. It then follows...
Read more >Conditionals | Grammar - EnglishClub
Learn 1st, 2nd, 3rd and zero conditionals in English, with example sentences + quizzes. ... Here is a table to help you to...
Read more >Conditionals: other expressions ( unless, should, as long as )
Conditional clauses can begin with unless. Unless means something similar to 'if … not' or 'except if'. The verb forms in the examples...
Read more >Conditionals: Why & How To Use Them
Want to know why we need to use conditionals in everyday conversations? Not sure how to use them in speaking? Keep reading to...
Read more >Teacher's Corner: Conditionals | American English
To name a few, we can use conditionals to state facts, to give advice, to discuss and analyze future and past situations, and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@eed3si9n any interest in accepting a pr to fix this issue? i can work on it.
Fixed in https://github.com/foundweekends/giter8/pull/332