Skip to content

Commit

Permalink
Daily arc lint --take BLACK
Browse files Browse the repository at this point in the history
Reviewed By: zertosh

Differential Revision: D27674014

fbshipit-source-id: b0184888b38ca83eb6c75fafc53616758af93b77
  • Loading branch information
CodemodService Bot authored and facebook-github-bot committed Apr 9, 2021
1 parent 575fee1 commit d291db7
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions build/fbcode_builder_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,42 +18,43 @@
from __future__ import print_function
from __future__ import unicode_literals

'fbcode_builder steps to build & test Wangle'
"fbcode_builder steps to build & test Wangle"

import specs.gmock as gmock
import specs.fizz as fizz
import specs.fmt as fmt
import specs.folly as folly
import specs.fizz as fizz
import specs.gmock as gmock
import specs.sodium as sodium

from shell_quoting import ShellQuoted


def fbcode_builder_spec(builder):
builder.add_option(
'wangle/_build:cmake_defines',
"wangle/_build:cmake_defines",
{
'BUILD_SHARED_LIBS': 'OFF',
'BUILD_TESTS': 'ON',
}
"BUILD_SHARED_LIBS": "OFF",
"BUILD_TESTS": "ON",
},
)
return {
'depends_on': [gmock, fmt, folly, fizz, sodium],
'steps': [
builder.fb_github_cmake_install('wangle/_build', '../wangle'),
"depends_on": [gmock, fmt, folly, fizz, sodium],
"steps": [
builder.fb_github_cmake_install("wangle/_build", "../wangle"),
builder.step(
'Run wangle tests', [
"Run wangle tests",
[
builder.run(
ShellQuoted('ctest --output-on-failure -j {n}')
.format(n=builder.option('make_parallelism'), )
ShellQuoted("ctest --output-on-failure -j {n}").format(
n=builder.option("make_parallelism"),
)
)
]
],
),
]
],
}


config = {
'github_project': 'facebook/wangle',
'fbcode_builder_spec': fbcode_builder_spec,
"github_project": "facebook/wangle",
"fbcode_builder_spec": fbcode_builder_spec,
}

0 comments on commit d291db7

Please sign in to comment.