Add basic 'tasks' file, for dev convenience

also, to test git commit hooks
This commit is contained in:
Lance Edgar 2019-11-06 16:06:44 -06:00
parent 3617d1bd47
commit d87c4dfc50

16
tasks.py Normal file
View file

@ -0,0 +1,16 @@
# -*- coding: utf-8; -*-
"""
Tasks for 'byjove' project
"""
from invoke import task
@task
def release(c):
"""
Release a new version of 'byjove'
"""
c.run("find . -name '*~' -delete")
c.run('npm run build')
c.run('npm publish')