OLD | NEW |
---|---|
1 # Copyright 2012 The Swarming Authors. All rights reserved. | 1 # Copyright 2012 The Swarming Authors. All rights reserved. |
2 # Use of this source code is governed under the Apache License, Version 2.0 that | 2 # Use of this source code is governed under the Apache License, Version 2.0 that |
3 # can be found in the LICENSE file. | 3 # can be found in the LICENSE file. |
4 { | 4 { |
5 'variables': { | 5 'variables': { |
6 'files': [ | 6 'files': [ |
7 'hello_world.py', | 7 'hello_world.py', |
8 ], | 8 ], |
9 }, | 9 }, |
10 # | 10 # |
11 'conditions': [ | 11 'conditions': [ |
12 ['OS=="Linux"', { | 12 ['OS=="Ubuntu"', { |
13 'variables': { | 13 'variables': { |
14 'command': [ | 14 'command': [ |
15 'python', | 15 'python', |
16 'hello_world.py', | 16 'hello_world.py', |
17 'Linux', | 17 'Ubuntu', |
18 ], | 18 ], |
19 }, | 19 }, |
20 }], | 20 }], |
21 ['OS=="Mac"', { | 21 ['OS=="Mac"', { |
22 'variables': { | 22 'variables': { |
23 'command': [ | 23 'command': [ |
24 'python', | 24 'python', |
25 'hello_world.py', | 25 'hello_world.py', |
26 'OSX', | 26 'OSX', |
27 ], | 27 ], |
(...skipping 12 matching lines...) Expand all Loading... | |
40 'variables': { | 40 'variables': { |
41 'command': [ | 41 'command': [ |
42 'python', | 42 'python', |
43 'hello_world.py', | 43 'hello_world.py', |
44 'Windows', | 44 'Windows', |
45 ], | 45 ], |
46 }, | 46 }, |
47 }], | 47 }], |
48 ], | 48 ], |
49 } | 49 } |
OLD | NEW |