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

tailwind download #109

Closed
jefftriplett opened this issue Mar 12, 2024 · 4 comments
Closed

tailwind download #109

jefftriplett opened this issue Mar 12, 2024 · 4 comments
Assignees

Comments

@jefftriplett
Copy link
Contributor

It would be helpful if _download_cli_if_not_exists was exposed as an optional tailwind download sub-command.

This would make it possible in a Dockerfile to download the binary (without architecture hoops) when the image is built so that it's not later downloaded when the tailwind build command is run.

I currently run python -m manage tailwind --skip-checks build in my Dockerfile, which is fine to get the binary file installed, but it tends to create a bunch of extra layers that seem to add up rather quickly.

@oliverandrich oliverandrich self-assigned this Mar 12, 2024
@oliverandrich
Copy link
Owner

Sounds like a good idea. I will add it.

oliverandrich added a commit that referenced this issue Mar 12, 2024
@oliverandrich
Copy link
Owner

Added a "download_cli" subcommand to handle this request. Before releasing it, I need to add some documentation and also want to refactor some parts of the management command in general.

@jefftriplett
Copy link
Contributor Author

🎉 Thank you for the quick reply and feature addition.

@oliverandrich
Copy link
Owner

download_cli is part of 2.10.0 released today.

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

No branches or pull requests

2 participants