aboutsummaryrefslogtreecommitdiff
path: root/tests/if-else/buildfile
AgeCommit message (Collapse)AuthorFilesLines
2019-09-30Allow attributes in if-else, assert directive's conditionsBoris Kolpackov1-0/+5
2016-12-01Move old tests to old-tests/Boris Kolpackov1-158/+0
2016-07-21Add support for single line if-blocksBoris Kolpackov1-2/+24
So now we can do: if true print true else print false Instead having to do: if true { print true } else { print false }
2016-07-20Implement support for <, >, <=, >= in eval contextBoris Kolpackov1-0/+5
Now can write: if ($build.version > 30000)
2016-01-21Add support for ==, != in eval contextBoris Kolpackov1-0/+17
2015-12-03Implement if-else conditionsBoris Kolpackov1-0/+114
if if! elif elif! else The expression should evaluate to true of false. The if! and elif! versions are provided as shortcuts to writing if (!...). See tests/if-else for examples.