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

cmd/scriggo: add the build command to build a template #960

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

gazerro
Copy link
Member

@gazerro gazerro commented Dec 5, 2024

This change adds the build command to build a template directory with
the following syntax:

  scriggo build [-o output] [dir]

This change adds the `build` command to build a template directory:

  scriggo build [-o output] [dir]
@gazerro gazerro requested review from zapateo and retini December 5, 2024 10:55
@zapateo zapateo marked this pull request as ready for review December 5, 2024 13:02
@gazerro gazerro removed the request for review from retini December 5, 2024 13:35
Copy link
Member

@zapateo zapateo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should first specify the behavior of build more rigorously, answering questions such as: what types of files should be processed as templates? Only HTML and Markdown, or others as well? And regarding the template files, how do we determine which files to compile (because they are "reachable" through navigation) and which should not be compiled, as they are referenced in other files?

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

Successfully merging this pull request may close these issues.

2 participants