-
-
Notifications
You must be signed in to change notification settings - Fork 36
Improve development workflow #547
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
base: master
Are you sure you want to change the base?
Improve development workflow #547
Conversation
I like the general idea! Let me know when it should be usable, I will test it out then. |
Would you be able to split this PR up in smaller changes? |
@jovandeginste Yes, I could do that. I will probably come back to it next week as I am currently a bit busy. |
The minor changes are now split into separate PRs. |
All the smaller PR's are now merged, thanks for this! |
e14ea41
to
6d82d78
Compare
With this PR, I aim to address some issues I encountered while setting up a development environment for this project.
templ version mismatch (#558)
When generating template files, I encountered an issue where the version installed by
make install-deps
generated files that were incompatible with the current templ version in use.To fix this, the version from
go.mod
is now installed bymake install-deps
.easier setup
To make the overall setup of this project easier, I added a
docker-compose
file for development.With this, the whole setup can be started for development by just running
make dev-docker
without installing any dependencies.docker image version pinning (#559)
Without version pinning, this repository can get unbuildable if there are breaking changes on those images. To prevent this, I added version numbers to the used docker images and also updated the
depandabot.yml
to also open PRs for updates on docker images.Other minor changes
asset
dir directly on development #560)go.mod
(Align templ version with version from go.mod #558)While still in draft, I am already open to feedback.