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

feat: implement build command #46

Merged
merged 2 commits into from
Feb 7, 2025
Merged

feat: implement build command #46

merged 2 commits into from
Feb 7, 2025

Conversation

NTBBloodbath
Copy link
Owner

Still WIP.

Closes #26

@NTBBloodbath NTBBloodbath added the enhancement New feature or request label Feb 6, 2025
- Implement `lith build` command for generating optimized static sites

- Add HTML minification support using `minify-html` crate

- Enable parallel content processing with `num_cpus` and `walkdir`

- Copy static assets to public directory during build

- Refactor common utilities into shared module for `serve`/`build` commands

- Update template conditionals to handle `'nil'` metadata values

- Add directory-style URL support in final build output

- Implement clean build directory management with orphan file detection
@NTBBloodbath NTBBloodbath marked this pull request as ready for review February 7, 2025 18:50
@NTBBloodbath NTBBloodbath merged commit d494f30 into master Feb 7, 2025
4 checks passed
@NTBBloodbath NTBBloodbath deleted the push-qkyslrqtwrqp branch February 7, 2025 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: implement build command
1 participant