mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-22 15:45:35 +00:00
Update generate.sh
This commit is contained in:
@ -13,9 +13,8 @@ rm src/apis src/models docs -rf
|
|||||||
--http-user-agent="vrchatapi-rust"
|
--http-user-agent="vrchatapi-rust"
|
||||||
#--global-property debugOperations=true
|
#--global-property debugOperations=true
|
||||||
|
|
||||||
# Add license and description to Cargo.toml
|
# Update entire description (replace entire line, match the random data there) line in Cargo.toml
|
||||||
sed -i '/^edition = "2018"/i license = "MIT"' Cargo.toml
|
sed -i 's/^description = ".*"/description = "VRChat API Client for Rust"/' Cargo.toml
|
||||||
sed -i '/^edition = "2018"/a description="VRChat API Library for Rust"' Cargo.toml
|
|
||||||
|
|
||||||
# Remove messily pasted markdown at top of every file
|
# Remove messily pasted markdown at top of every file
|
||||||
find src -type f -exec sed -i '/VRChat API Banner/d' {} \;
|
find src -type f -exec sed -i '/VRChat API Banner/d' {} \;
|
||||||
|
Reference in New Issue
Block a user