Adam Fowler
a2569dd667
Use newly merged inheritance spec tests
2021-05-03 15:58:50 +01:00
Adam Fowler
4a78d44712
Add HBMustacheCustomRenderable
...
Support custom rendering of swift types
Fixes tests that rely on NSNull
2021-05-03 15:33:28 +01:00
Adam Fowler
1c51fcfe8c
Add file header via swift format
2021-04-08 17:36:54 +01:00
Adam Fowler
883e1e3446
No need to ignore Variable test in spec tests
2021-04-06 16:22:19 +01:00
Adam Fowler
35d52603e2
Template inheritance ( #9 )
...
* Move all context variables into HBMustacheContext
* Add support for reading inherited sections
* Render inherited tokens
* Test inheritance spec, fix two minor issues
* fix warning
* swift format
2021-03-22 12:02:22 +00:00
Adam Fowler
af345e9138
Link FoundationNetworking on Linux
2021-03-22 11:46:04 +00:00
Adam Fowler
c4f8aea756
Use mustache spec json files for tests ( #10 )
...
* swift format
* Use json files for mustache/spec repo for testing spec
* Add option to ignore certain tests
* Clean up error messages, swift format
* more swift format
2021-03-22 11:41:52 +00:00
Adam Fowler
751126d729
Add support for Set Delimiters ( #5 )
...
* Added ParserState
* Add support for setting delimiters
* Add spec tests for setting delimiters
* swift format
2021-03-18 12:43:36 +00:00
Adam Fowler
9b17bd6827
Render optimisation
2021-03-18 10:55:55 +00:00
Adam Fowler
c560bd0fd9
swift format
2021-03-18 10:34:52 +00:00
Adam Fowler
16a2c54be6
Added sections tests. Allow for searching of context stack
2021-03-18 10:32:42 +00:00
Adam Fowler
b07ad42b49
Started section spec tests
2021-03-17 22:33:30 +00:00
Adam Fowler
169a7bbbf4
Added SpecPartialsTests and fixed issues
2021-03-17 18:30:55 +00:00
Adam Fowler
b4d6a518c7
Fixed all issues found in spec so far
...
parse has got quite complex might look to simplify
2021-03-17 17:02:59 +00:00
Adam Fowler
753079fa9d
Add inverted tests
2021-03-16 17:16:51 +00:00
Adam Fowler
9ddc49b7bc
Add interpolation tests, start inverted
2021-03-15 20:35:05 +00:00
Adam Fowler
a76a02a8dc
Add Comment spec
2021-03-15 18:57:55 +00:00