File: __init__.py

package info (click to toggle)
python-invoke 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,856 kB
  • sloc: python: 15,986; makefile: 24
file content (26 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
"Tasks for compiling static code and assets."

from invoke import task, Collection

from . import docs, python


@task(name="all", aliases=["everything"], default=True)
def all_(c):
    "Build all necessary artifacts."
    pass


@task(aliases=["ext"])
def c_ext(c):
    "Build our internal C extension."
    pass


@task
def zap(c):
    "A silly way to clean."
    pass


ns = Collection(all_, c_ext, zap, docs, python)