From 3e77fba6dea3b04d36c3a9e07017a66c74ed9a24 Mon Sep 17 00:00:00 2001 From: jinlow Date: Sat, 26 Aug 2023 11:42:15 -0500 Subject: [PATCH] Remove examples dir --- scripts/remove-optional-deps.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/remove-optional-deps.py b/scripts/remove-optional-deps.py index 2196dc9..60d44c7 100644 --- a/scripts/remove-optional-deps.py +++ b/scripts/remove-optional-deps.py @@ -2,6 +2,8 @@ # It's only there for the example, so let's remove it # in the regular build process. # Requires toml package +import shutil + import toml ct = toml.load("Cargo.toml") @@ -11,3 +13,6 @@ with open("Cargo.toml", "w") as file: toml.dump(ct, file) + +# Also delete the rust example. +shutil.rmtree("examples")