From 8fc66c419c6fb991c0e36e682f245bd74e7c19e6 Mon Sep 17 00:00:00 2001 From: Luciano Bello Date: Sun, 8 Dec 2019 08:52:48 -0500 Subject: [PATCH] handle _repo removal --- .gitignore | 1 + scripts/clean.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8034a9adf..337cc4658 100644 --- a/.gitignore +++ b/.gitignore @@ -149,6 +149,7 @@ ipython_config.py ## Jupyter Book _build/ +_repo/ ## IDEs .vscode diff --git a/scripts/clean.py b/scripts/clean.py index 0157a7864..2a15ad2eb 100755 --- a/scripts/clean.py +++ b/scripts/clean.py @@ -5,7 +5,8 @@ path_root = op.join(op.dirname(op.abspath(__file__)), '..') paths = [op.join(path_root, '_site'), - op.join(path_root, '_build')] + op.join(path_root, '_build'), + op.join(path_root, '_repo')] for path in paths: print('Removing {}...'.format(path)) sh.rmtree(path, ignore_errors=True)