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

File inclusion should have a search path. #2

Closed
skx opened this issue Feb 28, 2013 · 0 comments
Closed

File inclusion should have a search path. #2

skx opened this issue Feb 28, 2013 · 0 comments
Labels

Comments

@skx
Copy link
Owner

skx commented Feb 28, 2013

There are two forms of file inclusion:

  • Inclusion via the HTML::Template facility to use
  • Inclusion via the meta-data: foo: read_file( "path/here" );

Both forms should allow a search-path to be defined. When expanding file-inclusions we should search the directory tree, relative to the source file, as we do now. If that fails search the global-include path(s).

Suggest we allow --include-path=includes/:/home/includes or similar.

@skx skx closed this as completed in da17519 Mar 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant