Skip to content

Commit

Permalink
Remove examples dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jinlow committed Aug 26, 2023
1 parent 9ac636c commit 3e77fba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/remove-optional-deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -11,3 +13,6 @@

with open("Cargo.toml", "w") as file:
toml.dump(ct, file)

# Also delete the rust example.
shutil.rmtree("examples")

0 comments on commit 3e77fba

Please sign in to comment.