Add basic 'tasks' file, for dev convenience
also, to test git commit hooks
This commit is contained in:
parent
3617d1bd47
commit
d87c4dfc50
1 changed files with 16 additions and 0 deletions
16
tasks.py
Normal file
16
tasks.py
Normal 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')
|
Loading…
Add table
Add a link
Reference in a new issue