Run tests when doing a release
This commit is contained in:
parent
4350704996
commit
417f7e5c38
2
tasks.py
2
tasks.py
|
@ -18,6 +18,8 @@ def release(c):
|
||||||
"""
|
"""
|
||||||
Release a new version of WuttJamaican
|
Release a new version of WuttJamaican
|
||||||
"""
|
"""
|
||||||
|
c.run('tox')
|
||||||
|
|
||||||
# rebuild local tar.gz file for distribution
|
# rebuild local tar.gz file for distribution
|
||||||
if os.path.exists('WuttJamaican.egg-info'):
|
if os.path.exists('WuttJamaican.egg-info'):
|
||||||
shutil.rmtree('WuttJamaican.egg-info')
|
shutil.rmtree('WuttJamaican.egg-info')
|
||||||
|
|
Loading…
Reference in a new issue