Skip to content

Commit ef731cb

Browse files
authored
Skip build on docs (#5)
* Skip building the files for docs * Update version
1 parent 9a8d5f8 commit ef731cb

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openai_client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "conversa_openai_client"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
edition = "2024"
55
authors = ["Joao Rebelo <[email protected]>"]
66
license = "Apache-2.0"

openai_client/build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,6 +1394,10 @@ fn parse_endpoint_path(path_schema: &Yaml, client_output_file: &mut File) {
13941394
}
13951395

13961396
fn main() {
1397+
if std::env::var("DOCS_RS").is_ok() {
1398+
return;
1399+
}
1400+
13971401
println!("cargo::rerun-if-changed=./openapi.documented.yml");
13981402
println!("cargo::rerun-if-changed=src/lib.rs");
13991403

0 commit comments

Comments
 (0)