Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pluggable file preprocessor #202

Open
naturallymitchell opened this issue Jan 11, 2019 · 1 comment
Open

pluggable file preprocessor #202

naturallymitchell opened this issue Jan 11, 2019 · 1 comment

Comments

@naturallymitchell
Copy link
Member

Aleksander Włodarczyk Today at 9:05 AM

  1. Write custom modules require in torchbear to patch modules with lines about counting and printing time of loading
  2. Use our custom requires writing method to create a torchbear plugin for it
  • Our custom requires are using kind of pattern of returning compiled patched lua file
  • This pattern can be saved as a plugin
  • We are changing only the way of patching
  • We would be able to use it in more elegant way like theme loaders preprocessors
  1. Finish the module timer patching
  2. Generalize rules, actions, modules and themes loading
  3. Write a preprocessor plugin which could be used for each of them

mitchell Today at 9:15 AM
a preprocessor module loader plugin for each of the above
plugins for torchbear module loader
file preoprocessor module for torchbear that the module loader in bridge.lua will use

to refactor and generalize #201
and unify with lighttouch's pluggable themes preprocessors and actions + rules patching loaders

@naturallymitchell
Copy link
Member Author

see jazzdotdev/jazz-libs#2
#248

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants