• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# An input file for running a "slow" build.
2# Use like: ninja -f misc/long-slow-build.ninja all
3
4rule sleep
5  command = sleep 1
6  description = SLEEP $out
7
8build 0: sleep README
9build 1: sleep README
10build 2: sleep README
11build 3: sleep README
12build 4: sleep README
13build 5: sleep README
14build 6: sleep README
15build 7: sleep README
16build 8: sleep README
17build 9: sleep README
18build 10: sleep 0
19build 11: sleep 1
20build 12: sleep 2
21build 13: sleep 3
22build 14: sleep 4
23build 15: sleep 5
24build 16: sleep 6
25build 17: sleep 7
26build 18: sleep 8
27build 19: sleep 9
28build 20: sleep 10
29build 21: sleep 11
30build 22: sleep 12
31build 23: sleep 13
32build 24: sleep 14
33build 25: sleep 15
34build 26: sleep 16
35build 27: sleep 17
36build 28: sleep 18
37build 29: sleep 19
38build all: phony 20 21 22 23 24 25 26 27 28 29
39