Skip to content

Commit

Permalink
handle _repo removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Luciano Bello committed Dec 8, 2019
1 parent 8d1872f commit 8fc66c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ ipython_config.py

## Jupyter Book
_build/
_repo/

## IDEs
.vscode
Expand Down
3 changes: 2 additions & 1 deletion scripts/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8fc66c4

Please sign in to comment.