Skip to content

Commit

Permalink
make sure the build is clean
Browse files Browse the repository at this point in the history
  • Loading branch information
scopatz committed Nov 28, 2017
1 parent 57378e0 commit 1558a8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Building PyNE
command: |
python3 setup.py install --user \
--moab $HOME/opt/moab
--moab $HOME/opt/moab --clean
# Test!
- run:
Expand All @@ -37,7 +37,7 @@ jobs:
name: Building PyNE
command: |
python setup.py install --user \
--moab $HOME/opt/moab
--moab $HOME/opt/moab --clean
# Test!
- run:
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Expand Up @@ -322,6 +322,7 @@ def update_setup_args(ns):
dir_util.remove_tree(ns.build_dir)
for f in files:
if os.path.isfile(f):
print('deleting ' + f)
os.remove(f)
print('build directory cleaned ... exiting')
sys.exit()
Expand All @@ -330,6 +331,7 @@ def update_setup_args(ns):
dir_util.remove_tree(ns.build_dir)
for f in files:
if os.path.isfile(f):
print('deleting ' + f)
os.remove(f)


Expand Down

0 comments on commit 1558a8b

Please sign in to comment.