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

docs: Add SHA1 calculation onliner and fix sums #724

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs/creating-new/create/cmake.rst
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,8 @@ Download release archive and calculate ``SHA1``:

.. code-block:: none

> wget https://github.com/hunterbox/hunter_box_1/archive/v1.0.0.tar.gz
> openssl sha1 v1.0.0.tar.gz
SHA1(v1.0.0.tar.gz)= c724e0f8a4ebc95cf7ba628b89b998b3b3c2697d
> wget -O- https://github.com/hunterbox/hunter_box_1/archive/v1.0.0.tar.gz | openssl sha1
SHA1(stdin)= 4fa7fe75629f148a61cedc6ba0bce74f177a6747

Add this information to ``cmake/projects/hunter_box_1/hunter.cmake`` file:

Expand All @@ -292,7 +291,7 @@ Add this information to ``cmake/projects/hunter_box_1/hunter.cmake`` file:
URL
"https://github.com/hunterbox/hunter_box_1/archive/v1.0.0.tar.gz"
SHA1
c724e0f8a4ebc95cf7ba628b89b998b3b3c2697d
4fa7fe75629f148a61cedc6ba0bce74f177a6747
)

hunter_pick_scheme(DEFAULT url_sha1_cmake)
Expand Down
Loading