forked from thought-machine/please
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.plzconfig
101 lines (85 loc) · 2.51 KB
/
.plzconfig
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[python]
; We use the in-repo please_pex tool to build other pexes within this repo.
; Other projects using Please wouldn't normally need to do anything like this.
pextool = //tools/please_pex
moduledir = third_party.python
[gc]
keep = //test/...
keep = //docs:all
keep = //package:all
[cpp]
defaultoptcppflags = --std=c++11 -O2 -DNDEBUG -Wall -Wextra -Werror -Wno-unused-parameter
defaultdbgcppflags = --std=c++11 -g3 -DDEBUG -Wall -Wextra -Werror -Wno-unused-parameter
TestMain = ///pleasings//cc:unittest_main
[java]
javacworker = //tools/java:javac_worker
junitrunner = //tools/java:junit_runner
[proto]
protoctool = //third_party/proto:protoc
protocgoplugin = //third_party/go:protoc-gen-go
language = go
[parse]
BlacklistDirs = tree ; The performance test repo
preloadsubincludes = //build_defs:go
[alias "autofix"]
desc = Generates generated code and applies lint fixes
cmd = run //:autofix
[alias "bootstrap"]
desc = Bootstraps Please from scratch
cmd = run //:bootstrap --
[alias "bootonly"]
desc = Bootstraps Please, but does not run any tests.
cmd = run //:bootstrap -- --skip_tests
[alias "install"]
desc = Installs Please into ~/.please
cmd = run //:install --
[alias "plz"]
desc = Builds & runs the version of plz within this repo.
cmd = run //package:installed_files --entry_point=please --
subcommand = test
subcommand = build
positionallabels = true
[alias "lint"]
desc = Runs the linters for this repo
cmd = run //tools/misc:lint -p --
[alias "go-get"]
desc = Runs the go deps tool to install new dependencies into the repo
cmd = run //third_party/binary:go-deps -- -w
[licences]
accept = MIT
accept = MIT License
accept = BSD
accept = BSD License
accept = Simplified BSD
accept = BSD 3-Clause
accept = BSD-3-Clause
accept = BSD-2-Clause
accept = 3-Clause BSD License
accept = New BSD License
accept = Apache Software License
accept = Apache 2.0
accept = Apache-2.0
accept = Apache License, Version 2.0
accept = The Apache Software License, Version 2.0
accept = PSF
accept = ASL
accept = MPL-2.0
accept = LGPL
accept = Artistic License
accept = ISC
# Not really a licence, but Bazel projects commonly describe things this way.
accept = notice
[featureflags]
JavaBinaryExecutableByDefault = true
PackageOutputsStrictness = true
PythonWheelHashing = true
NoIterSourcesMarked = true
GoDontCollapseImportPath = true
ExcludeGoRules = true
[Plugin "go"]
Target = //plugins:go
pleasegotool = ///go//tools/please_go:bootstrap
importpath = github.com/thought-machine/please
gotool = //third_party/go:toolchain|go
[BuildConfig]
use-go-plugin = True