mirror of https://github.com/celery/kombu.git
Improve removepyc script
This commit is contained in:
parent
281916716c
commit
ddae2aa201
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
find "${1:-.}" -name "*.pyc" | xargs rm
|
(cd "{$1:-.}";
|
||||||
find "${1:-.}" -name "*\$py.class" | xargs rm
|
find . -name "*.pyc" | xargs rm -- 2>/dev/null) || echo "ok"
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -28,7 +28,6 @@ commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
|
||||||
--with-xunit \
|
--with-xunit \
|
||||||
--xunit-file=nosetests.xml
|
--xunit-file=nosetests.xml
|
||||||
|
|
||||||
|
|
||||||
[testenv:py27]
|
[testenv:py27]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
deps = -r{toxinidir}/requirements/default.txt
|
deps = -r{toxinidir}/requirements/default.txt
|
||||||
|
|
Loading…
Reference in New Issue