We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As discussed in #33, let's allow installing fpm-enabled packages form their git repositories.
If the following is placed in fpm.toml:
[dependencies] dependency_name = { git = git_url, tag = git_tag }
Then the package depends on dependency_name, which fpm will fetch from git_url and a specific git tag git_tag.
dependency_name
git_url
git_tag
Here's a concrete example that will work, when this issue is implemented.
[dependencies] datetime = { git = "https://github.com/wavebitscientific/datetime-fortran", tag = "v1.7.0" }
Question: If tag is omitted, should fpm fetch from the latest commit on master? I think so. Cargo does it like that as well. Then you could also do:
tag
[dependencies] datetime = { git = "https://github.com/wavebitscientific/datetime-fortran" }
The text was updated successfully, but these errors were encountered:
This is exactly my plan.
Sorry, something went wrong.
Yes, if tag is omitted, it should check out the latest master.
Otherwise I agree.
This was finished in #85
No branches or pull requests
As discussed in #33, let's allow installing fpm-enabled packages form their git repositories.
If the following is placed in fpm.toml:
Then the package depends on
dependency_name
, which fpm will fetch fromgit_url
and a specific git taggit_tag
.Here's a concrete example that will work, when this issue is implemented.
Question: If
tag
is omitted, should fpm fetch from the latest commit on master? I think so. Cargo does it like that as well. Then you could also do:The text was updated successfully, but these errors were encountered: