Skip to content

Commit 4475c2e

Browse files
committed
fix: Add repository url to Cargo.toml
1 parent ebbe1e6 commit 4475c2e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[package]
2+
repository="https://github.com/vrchatapi/vrchatapi-rust"
23
name = "vrchatapi"
34
version = "1.20.7-nightly.3"
45
authors = ["[email protected]"]

generate.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ rm src/apis src/models docs -rf
2222

2323
# Update entire description (replace entire line, match the random data there) line in Cargo.toml
2424
sed -i 's/^description = ".*"/description = "VRChat API Client for Rust"/' Cargo.toml
25+
# Add repository link to Cargo.toml
26+
sed -i 's|\[package\]|[package]\nrepository="https://github.com/vrchatapi/vrchatapi-rust"|' Cargo.toml
2527

2628
# Remove messily pasted markdown at top of every file
2729
find src -type f -exec sed -i '/VRChat API Banner/d' {} \;

0 commit comments

Comments
 (0)