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

Move sqlite driver import behind build constraint #287

Merged
merged 1 commit into from
Mar 25, 2022
Merged

Move sqlite driver import behind build constraint #287

merged 1 commit into from
Mar 25, 2022

Conversation

cloneable
Copy link
Contributor

@cloneable cloneable commented Mar 24, 2022

This moves the database driver imports into separate files:

  • one for sqlite with cgo build constraint and
  • one for all the others.

This makes it possible to compile dbmate without sqlite again.

Fixes #284

This moves the database driver imports into separate files:
* one for sqlite with cgo build constraint and
* one for all the others.

This makes it possible to compile dbmate without sqlite again.
Copy link
Owner

@amacneil amacneil left a comment

Choose a reason for hiding this comment

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

Thanks! Github CI seems to be down but I'll merge after it passes.

@iwata
Copy link

iwata commented Mar 25, 2022

@amacneil Any progress on this PR?

@cloneable
Copy link
Contributor Author

It seems GitHub is not going to finish the checks after their outage, so I may need to re-push the PR to trigger the checks. Maybe closing and re-opening helps?

@cloneable cloneable closed this Mar 25, 2022
@cloneable cloneable reopened this Mar 25, 2022
@cloneable
Copy link
Contributor Author

Yes, that worked.

@amacneil amacneil merged commit de387c6 into amacneil:main Mar 25, 2022
@iwata
Copy link

iwata commented Mar 25, 2022

@amacneil Could you publish new version for this?

@amacneil
Copy link
Owner

done ✅

@cloneable cloneable deleted the sqlite-cgo-build-constraint branch March 27, 2022 15:58
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.

Consider conditional inclusion of sqlite driver due to cgo
3 participants