From 531287545e3565de459a4354d0332314a94ae447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Foorack=20/=20Max=20Fax=C3=A4lv?= Date: Sun, 4 Dec 2022 20:33:01 +0100 Subject: [PATCH] Update generate.sh --- generate.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/generate.sh b/generate.sh index 8370883..b81dd70 100755 --- a/generate.sh +++ b/generate.sh @@ -13,9 +13,8 @@ rm src/apis src/models docs -rf --http-user-agent="vrchatapi-rust" #--global-property debugOperations=true -# Add license and description to Cargo.toml -sed -i '/^edition = "2018"/i license = "MIT"' Cargo.toml -sed -i '/^edition = "2018"/a description="VRChat API Library for Rust"' Cargo.toml +# Update entire description (replace entire line, match the random data there) line in Cargo.toml +sed -i 's/^description = ".*"/description = "VRChat API Client for Rust"/' Cargo.toml # Remove messily pasted markdown at top of every file find src -type f -exec sed -i '/VRChat API Banner/d' {} \;