Skip to content

Commit

Permalink
Simplify the build process
Browse files Browse the repository at this point in the history
Prior to this, when you ran `make clean`, the `tmp` directory would be
deleted. You would need to add it back to run `make`. By including a
`.gitignore` file in the directory we ensure it isn't deleted.
  • Loading branch information
johndgiese committed Dec 5, 2019
1 parent 8f7651b commit 1d421a6
Show file tree
Hide file tree
Showing 3 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 @@ -7,3 +7,4 @@ old_standards
tags
.tox/
*.egg-info/
.python-version
2 changes: 1 addition & 1 deletion dicom_standard/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ checkversions:
@python3 --version 2>&1 | grep -q 3.5. || { echo "Need Python 3.5" && exit 1; }

clean:
git clean -fqx dist tmp .
git clean -fqx dist tmp
find . -type f -name "*.py[co]" -delete
find . -type d -name "__pycache__" -delete
1 change: 1 addition & 0 deletions dicom_standard/tmp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*

0 comments on commit 1d421a6

Please sign in to comment.