-
Notifications
You must be signed in to change notification settings - Fork 207
/
.plzconfig
94 lines (80 loc) · 2.35 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
[parse]
BlacklistDirs = tree ; The performance test repo
preloadsubincludes = ///go//build_defs:go
preloadsubincludes = ///cc//build_defs:cc
preloadsubincludes = ///python//build_defs:python
preloadsubincludes = ///shell//build_defs:shell
[Plugin "go"]
Target = //plugins:go
importpath = github.com/thought-machine/please
gotool = //third_party/go:toolchain|go
FeatureFlags = go_get
modfile = //:go_mod
stdlib = //third_party/go:std
[Plugin "cc"]
target = //plugins:cc
defaultoptcppflags = --std=c++11 -O2 -DNDEBUG -Wall -Wextra -Werror -Wno-unused-parameter
defaultdbgcppflags = --std=c++11 -g3 -DDEBUG -Wall -Wextra -Werror -Wno-unused-parameter
[Plugin "shell"]
Target = //plugins:shell
[Plugin "python"]
Target = //plugins: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.
moduledir = third_party.python
DisableVendorFlags = true
[gc]
keep = //test/...
keep = //docs:all
keep = //package:all
[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 ///go//tools/go_get_migrator --
[licences]
accept = MIT
accept = MIT License
accept = BSD
accept = BSD-3
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
[remote]
url =