File: LogicalExpression.tjp

package info (click to toggle)
tj3 3.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,048 kB
  • sloc: ruby: 36,481; javascript: 1,113; sh: 19; makefile: 17
file content (38 lines) | stat: -rw-r--r-- 571 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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
project "LogExp" 2009-10-19 +2m {
  timezone "America/Denver"
}

resource r "R"
task "T" {
  allocate r
  effort 1d
}

macro rep [
taskreport  "LogExp${1}" {
  hidetask 1 ${2} 0
}
]

${rep "1" ">"}
${rep "2" "<"}
${rep "3" "<="}
${rep "4" ">="}
${rep "5" "!="}
${rep "6" "="}

taskreport "LogExp7" {
  hidetask @none
  hideresource @all
}

# *** EXAMPLE: 1 +
taskreport "LeaveTasks" {
  hidetask isleaf()
  sorttasks id.up # not 'tree' to really hide parent tasks
}

taskreport "Overruns" {
  hidetask isvalid(plan.maxend) & (plan.end > plan.maxend)
}
# *** EXAMPLE: 1 -