Commit graph

4 commits

Author SHA1 Message Date
Imran Iqbal
55bc69a2b1
style(libtofs.jinja): use Black-inspired Jinja formatting [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/237
2020-07-20 17:37:39 +01:00
Imran Iqbal
241646fe96 fix(libtofs): “files_switch” mess up the variable exported by “map.jinja” [skip ci]
* Checked using https://github.com/myii/ssf-formula/pull/131
2020-02-14 19:11:55 +00:00
Daniel Dehennin
ab4ce751a4 fix(libtofs): “files_switch” mess up the variable defined by “map.jinja”
- “map.jinja” export a variable name as “<tplroot>”
- import of “libtofs.jinja” is done with context and has access to
  “<tplroot>” variable
- in “files_switch”, appending the empty string to the “fsl” variable
  modify globally “<tplroot>['tofs']['files_switch']”

* TEMPLATE/libtofs.jinja: do not use inplace “append” to avoid side effect.
2020-02-14 08:57:31 +01:00
Dafydd Jones
2e8ded6565 refactor: improve reusability using an unique keyword TEMPLATE
BREAKING CHANGE: changed all state names and ids
2019-12-04 23:47:41 +00:00
Renamed from template/libtofs.jinja (Browse further)