github.phpd.cn/thought-machine/please@v12.2.0+incompatible/.plzconfig (about) 1 [python] 2 ; We use the in-repo please_pex tool to build other pexes within this repo. 3 ; Other projects using Please wouldn't normally need to do anything like this. 4 pextool = //tools/please_pex 5 moduledir = third_party.python 6 7 [parse] 8 ; This is a hack to handle operating systems with case-insensitive file systems. 9 ; I don't want to rename my package so we have one slightly differently named build file 10 ; in this project. 11 buildfilename = BUILD 12 buildfilename = BUILD.plz 13 ; Blacklist the third-party dirs, we never need to descend into those. 14 blacklistdirs = github.com 15 blacklistdirs = golang.org 16 blacklistdirs = google.golang.org 17 blacklistdirs = gopkg.in 18 ; Make this generally available 19 preloadbuilddefs = build_defs/go_bindata.build_defs 20 21 [gc] 22 keep = //test/... 23 keep = //docs:all 24 keep = //package:all 25 keep = //tools 26 27 [go] 28 filtertool = //tools/please_go_filter 29 testtool = //tools/please_go_test 30 31 [cpp] 32 defaultnamespace = thought_machine 33 defaultoptcppflags = --std=c++11 -O2 -DNDEBUG -Wall -Wextra -Werror -Wno-unused-parameter 34 defaultdbgcppflags = --std=c++11 -g3 -DDEBUG -Wall -Wextra -Werror -Wno-unused-parameter 35 36 [java] 37 ; By default these next two use prebuilt versions - bootstrap.sh will override this if 38 ; it detects Java is installed and it can build them locally. 39 javacworker = //tools/java:javac_worker 40 junitrunner = //tools/java:junit_runner 41 jarcattool = //tools/jarcat 42 pleasemaventool = //tools/please_maven 43 ; We want the default to remain at java 8 because obviously it's significantly better, 44 ; but the builtin packages here support java 7 fine so it's nice not to require more. 45 sourcelevel = 7 46 targetlevel = 7 47 48 [proto] 49 protoctool = //third_party/proto:protoc 50 pythonpackage = third_party.python.google.protobuf 51 grpcjavaplugin = //third_party/java:protoc-gen-grpc-java 52 protocgoplugin = //third_party/go:protoc-gen-go 53 54 [docker] 55 defaultimage = thoughtmachine/please_test:v2 56 allowlocalfallback = false 57 58 [cache] 59 ; Too hard to make this guy work during initial bootstrap. 60 dircachecleaner = none 61 62 [licences] 63 accept = MIT 64 accept = MIT License 65 accept = BSD 66 accept = BSD License 67 accept = Simplified BSD 68 accept = BSD 3-Clause 69 accept = 3-Clause BSD License 70 accept = New BSD License 71 accept = Apache 2.0 72 accept = Apache License, Version 2.0 73 accept = The Apache Software License, Version 2.0 74 accept = PSF 75 accept = ASL