File: tasks.py

package info (click to toggle)
python-invoke 2.2.1%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,652 kB
  • sloc: python: 11,664; makefile: 24
file content (20 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""
Tasks module for use within the integration tests.
"""

from invoke import task


@task
def print_foo(c):
    print("foo")


@task
def print_name(c, name):
    print(name)


@task
def print_config(c):
    print(c.foo)