File: selecttasks.py

package info (click to toggle)
doit 0.36.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,704 kB
  • sloc: python: 11,863; makefile: 33; ansic: 14; javascript: 3; sh: 1
file content (13 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13

DOIT_CONFIG = {'default_tasks': ['t3']}

def task_t1():
    return {'actions': ["touch task1"],
            'targets': ['task1']}

def task_t2():
    return {'actions': ["echo task2"]}

def task_t3():
    return {'actions': ["echo task3"],
            'file_dep': ['task1']}