Releases: kblomqvist/yasha
Releases · kblomqvist/yasha
1.5.2
- Fixed a crash when using template below the working directory, e.g.
yasha ../foo.jinja
. - Updated CMake example to work with common practice of calling
cmake ..
within build directory.
1.5.1
- Added
-M
option, which outputs Makefile compatible list of dependencies but doesn't render the template. Enables "CMake support".
1.5
- Fixed the placement of compiled code file of extensions (aka
.pyc
,__pycache__
), issue #4. - A user friendly error message is given in case if broken extensions file is tried to be used.
- Template dependencies are find until the current working directory is reached instead of the root, issue #3.
- New features added to built-in CMSIS-SVD parser
- Experimental new
preprocess_
extension file function to preprocess parsed values. - Yasha SCons Builder and CBuilder can resolve template dependencies. No need to use env.Depends() anymore.
1.4
- Added parser for CMSIS-SVD files.
- Added CBuilder for SCons to generate C files. See instructions from README.
- Makefile example also updated to support separate build dir.
- Extension file suffix can be
.j2ext
. - Python 3 needs to be 3.4 or later.
1.3
- Added
--trim
command-line option. Strips extra whitespace. Spares the single empty lines, though.
1.2
- With no output, template was incorrectly rendered into the template file itself.
1.1
- Made yasha to work with stdin too.
- Changed
-MM -MT
options to-MD
. This creates Makefile compatible .d files alongside rendering. - Changed short option of
--variables
from-a
to-v
. import yasha.parser
is nowimport yasha.parsers
.
Initial release
1.0 Prepare for release