This version breaks the compatibility with previous versions.
Implement the 'scriggo run' command.
The new Run command executes a template file and its extended, imported and rendered files:
$ scriggo run index.htmlAll Scriggo builtins are available in template files. See the scriggo command for the complete syntax.
Discard shebang line in templates (breaking change).
Discards a shebang line in a template file. In this way the template file can have a shebang as first line:
#!/usr/bin/scriggo run
{% extends "layout.html" %}
{% Article %}
Fix BuildTemplate to get the format from a FormatFS file system.
If a file system implements the FormatFS interface, Scriggo calls its Format method to get the file format.
This didn't work and this release fixes it.
Other relevant commits
- all: improve documentation about contribution and testing
- compiler/checker: fix setValue in case of Scriggo defined complex type
- compiler/emitter: fix changeRegister in case of conversion