forked from facebookincubator/antlir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.buckconfig
42 lines (36 loc) · 1.53 KB
/
.buckconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[repositories]
bazel_skylib = third-party/bazel-skylib
# SKYLARK is the future of Buck, and (perhaps more importantly) does not
# require a system to have python2 to interpret .bzl/BUCK files
[parser]
default_build_file_syntax = SKYLARK
# force usage of oss_shim.bzl which applies all the correct visibility logic
# and more closely mimics the internal macros
disable_implicit_native_rules = true
# There is only one python platform we support, and that is python3 with
# standalone packages. This will be expanded in the future to support
# inplace python binaries in local dev mode, but it will always be python3.
[python]
interpreter = /usr/bin/python3
package_style = standalone
[cxx]
gtest_dep = //third-party/cxx:gtest
should_remap_host_platform = true
[project]
ignore = .git, .hg, buck-image-out
[test]
# This is needed to ensure that the test runner only executes the
# 'in image' unittest targets, and not the `IGNORE-ME*` wrapper tests
# (see antlir/bzl/image_*_unittest.bzl for more crazy implementation
# details).
#
# Note, because buck doesn't have a config to always ignore
# these excluded labels you must run `buck test` with the `--always-exclude`
# option.
# ie: `buck test //antlir/rpm:test-yum-dnf-from-snapshot --always-exclude`
excluded_labels = exclude_test_if_transitive_dep
[antlir]
build_appliance_default = //images/appliance:stable_build_appliance
rpm_installer_default = dnf
rpm_installers_supported = dnf
host_mounts_allowed_in_targets = //images/appliance:host_build_appliance