Skip to content

Commit

Permalink
better to use the repository field
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Gatto <[email protected]>
Signed-off-by: Gábor Szabó <[email protected]>
  • Loading branch information
szabgab authored and outscale-mgo committed May 21, 2024
1 parent cb4fc11 commit a6609d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ index bd24ec0..548c0c1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,6 +8,7 @@ description = "Outscale API SDK"
homepage = "https://github.com/outscale/osc-sdk-rust/"
repository = "https://github.com/outscale/osc-sdk-rust/"

[dependencies]
+home = "0.5.3"
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Outscale SAS <[email protected]>"]
edition = "2021"
license = "BSD-3-Clause"
description = "Outscale API SDK"
homepage = "https://github.com/outscale/osc-sdk-rust/"
repository = "https://github.com/outscale/osc-sdk-rust/"

[dependencies]
home = "0.5.3"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ gen: clean osc-api/outscale.yaml
# Set outscale as author
docker run -v $(PWD):/sdk --rm $(OPENAPI_IMAGE) sed -i "s/OpenAPI Generator team and contributors/Outscale SAS <[email protected]>/g" /sdk/.sdk/Cargo.toml
# Set rust version, licensing, homepage, description, ...
docker run -v $(PWD):/sdk --rm $(OPENAPI_IMAGE) sed -i "s/edition = \"2018\"/edition = \"2021\"\nlicense = \"BSD-3-Clause\"\ndescription = \"Outscale API SDK\"\nhomepage = \"https:\/\/github.com\/outscale\/osc-sdk-rust\/\"/" /sdk/.sdk/Cargo.toml
docker run -v $(PWD):/sdk --rm $(OPENAPI_IMAGE) sed -i "s/edition = \"2018\"/edition = \"2021\"\nlicense = \"BSD-3-Clause\"\ndescription = \"Outscale API SDK\"\nrepository = \"https:\/\/github.com\/outscale\/osc-sdk-rust\/\"/" /sdk/.sdk/Cargo.toml
# Add dev-dependencies (used by examples)
docker run -v $(PWD):/sdk --rm $(OPENAPI_IMAGE) sed -i "s/\[dev-dependencies\]/\[dev-dependencies\]\nrand = \"0.8.5\"/" /sdk/.sdk/Cargo.toml
docker run -v $(PWD):/sdk --rm $(OPENAPI_IMAGE) chown -R $(USER_ID).$(GROUP_ID) /sdk/.sdk
Expand Down

0 comments on commit a6609d0

Please sign in to comment.