Skip to content

v0.3.0

Pre-release
Pre-release

Choose a tag to compare

@Cy4Shot Cy4Shot released this 20 Jul 09:10
· 11 commits to master since this release

New Features

  • Templating support. Write strictly typed expressions inside brick scripts with Jinja-like syntax. Example:
EXAMPLE_VARIABLE="{{ if sys.arch == "x86_64" ? "64-bit" : "32-bit" }}"
echo "I am $EXAMPLE_VARIABLE bits"
  • sys.arch, sys.os, sys.kernel, sys.node, sys.kernel_version, sys.platform.windows, sys.platform.linux, sys.platform.mac are currently available in the template section.

This allows brick scripts to be platform independent!

Full Changelog: v0.2.0...v0.3.0