Skip to content

Commit

Permalink
make clean fails on Mac, commenting out for now. removed stray pylint…
Browse files Browse the repository at this point in the history
… target
  • Loading branch information
mosbth committed Sep 20, 2018
1 parent 702673d commit effe592
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ clean:
@$(call HELPTEXT,$@)
rm -f $(LOGFILES)
rm -rf build
find -type d -name __pycache__ -exec rm -rf {} \;
find -type f -name '*.pyc' -exec rm -f {} \;
# These should not remove files in .venv
#find . -type d -name __pycache__ -exec rm -rf {} \;
#find . -type f -name '*.pyc' -exec rm -f {} \;

This comment has been minimized.

Copy link
@kh31d4r

kh31d4r Sep 20, 2018

Contributor

find has a -delete flag that can be used instead of -exec rm -rf




Expand All @@ -99,6 +100,7 @@ pylint:
@install -d build/pylint
-pylint --reports=no *.py
-@pylint *.py > build/pylint/output.txt
#pylint --rcfile=.pylintrc $(PYFILES) | tee build/pylint



Expand Down Expand Up @@ -183,13 +185,3 @@ jsonlint: $(JSONFILES)

$(JSONFILES):
jsonlint --quiet $@ 2>&1 | tee build/jsonlint-$@



#
#
#
.PHONY: pylint

pylint:
pylint --rcfile=.pylintrc $(PYFILES) | tee build/pylint

0 comments on commit effe592

Please sign in to comment.