File: lint.ninja

package info (click to toggle)
haskell-shake 0.13.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 888 kB
  • ctags: 127
  • sloc: haskell: 6,388; makefile: 35; ansic: 25; sh: 2
file content (13 lines) | stat: -rw-r--r-- 253 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13

rule gen
    command = echo $out > $out

rule run
    command = (echo $out : $out.gen > $out.d) && (echo $out > $out)
    depfile = $out.d

build good: run || good.gen bad.gen
build good.gen: gen

build bad: run | input
build bad.gen: gen