diff --git a/Makefile.toml b/Makefile.toml index 1f6ad46..437c5e7 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -5,7 +5,10 @@ script = [ "sed -i.bak \"s/StatusEnum:/StatusEnum:\\n description: status of this requisition/\" /tmp/gocardless-bankaccountdata-schema.yaml", "npx openapi-generator-cli generate -i /tmp/gocardless-bankaccountdata-schema.yaml -o packages/gocardless-bankaccountdata -g rust --package-name gocardless-bankaccountdata --additional-properties=bestFitInt", "sed -i.bak \"s/OpenAPI Generator team and contributors/Nixy /\" packages/gocardless-bankaccountdata/Cargo.toml", - "sed -i.bak \"s/Securely access your user's bank account information for better lending, accounting, verification and financial management./Rust OpenAPI client for GoCardless Bank Account Data./\" packages/gocardless-bankaccountdata/Cargo.toml", + "sed -i.bak \"s/Securely access your user's bank account information for better lending, accounting, verification and financial management./Rust OpenAPI client for GoCardless Bank Account Data.\"/ packages/gocardless-bankaccountdata/Cargo.toml", + "sed -i.bak \"s/edition = \\\"2021\\\"/edition = \\\"2021\\\"\\nrepository.workspace = true/\" packages/gocardless-bankaccountdata/Cargo.toml", "rm -f packages/gocardless-bankaccountdata/{.gitignore,.travis.yml,Cargo.toml.bak,git_push.sh}", + "npx prettier --write .", + "cargo fmt", ] workspace = false diff --git a/packages/gocardless-bankaccountdata/Cargo.toml b/packages/gocardless-bankaccountdata/Cargo.toml index 264c06b..21c6731 100644 --- a/packages/gocardless-bankaccountdata/Cargo.toml +++ b/packages/gocardless-bankaccountdata/Cargo.toml @@ -5,6 +5,7 @@ authors = ["Nixy "] description = "Rust OpenAPI client for GoCardless Bank Account Data." license = "MIT" edition = "2021" +repository.workspace = true [dependencies] serde = { version = "^1.0", features = ["derive"] }