proxygen
fbcode_builder_config.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 from __future__ import absolute_import
3 from __future__ import division
4 from __future__ import print_function
5 from __future__ import unicode_literals
6 'fbcode_builder steps to build & test Proxygen'
7 
8 import specs.folly as folly
9 import specs.wangle as wangle
10 import specs.proxygen as proxygen
11 import specs.fizz as fizz
12 import specs.sodium as sodium
13 
14 from shell_quoting import ShellQuoted
15 
16 
17 def fbcode_builder_spec(builder):
18  return {
19  'depends_on': [folly, wangle, proxygen, fizz, sodium],
20  'steps': [
21  # Proxygen is the last step, so we are still in its working dir.
22  builder.step('Run proxygen tests', [
23  builder.run(ShellQuoted('make check')),
24  ])
25  ],
26  }
27 
28 
29 config = {
30  'github_project': 'facebook/proxygen',
31  'fbcode_builder_spec': fbcode_builder_spec,
32 }