v0.3.5
- codeAsInSource has been reworked to work better with templates and uses of
nbCode
in different files.
The cases that still don't work is when code from different places are combined in a singlenbCode
, like here:
template foo(body: untyped) =
nbCode:
body # This code is from line 7
echo "Hello world" # this code is from line 4
foo:
echo "Goodbye world"
- If you don't use any nbJs, now nimib won't build an empty nim file in those cases.
- The temporary js files generated by nbJs now has unique names to allow parallel builds.
What's Changed
- refactor codeAsInSource to not require command + fix nbJs bug fixes by @HugoGranstrom in #163
Full Changelog: v0.3.4...v0.3.5