github open2b/scriggo v0.53.0

latest releases: v0.61.1, v0.61.0, v0.60.0...
4 years ago

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.html

All 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

Don't miss a new scriggo release

NewReleases is sending notifications on new releases.