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

Added meson file, to declare a dependency. #232

Merged
merged 1 commit into from
May 4, 2019
Merged

Added meson file, to declare a dependency. #232

merged 1 commit into from
May 4, 2019

Conversation

jormundgand
Copy link
Contributor

Added a meson build file, so that doctest can be used as a subproject from git.

The build file doesn't actually build the project, but just defines a dependency.

@onqtam
Copy link
Member

onqtam commented May 4, 2019

Thanks for the contribution!

Do you think it's possible to get the version programmatically from https://github.com/onqtam/doctest/blob/master/scripts/version.txt ?

@jormundgand
Copy link
Contributor Author

jormundgand commented May 4, 2019

Meson is very big on not being able to change anything programmatically and the project definition has to be the first thing to be defined -- that makes it a tad difficult to do it. Personally, I'm not that worried about the version lagging a bit. Since you're already storing the result of the build in the repo, I guess you could construct the meson build file in the same go. Alternatively, you could just remove the version from the file.

@onqtam onqtam merged commit be8b3bc into doctest:dev May 4, 2019
@onqtam
Copy link
Member

onqtam commented May 4, 2019

I'll perhaps generate it

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