Skip to content

Commit

Permalink
Initial commit of Please.
Browse files Browse the repository at this point in the history
  • Loading branch information
pebers committed Feb 2, 2016
0 parents commit 14387a1
Show file tree
Hide file tree
Showing 269 changed files with 53,988 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Output binary from 'go build'
/please
/src/please
# Install directories for third-party Go packages
/pkg
/bin
/src/github.com
/src/golang.org
/src/code.google.com
/src/gopkg.in
/src/google.golang.org
# Generated by go-bindata
/src/parse/builtin_rules.go
# Local config file
.plzconfig.local

/plz-out
/.plz-cache
/.plz-http-cache
/plz-cache
*.pyc
*.o
*.a
__pycache__

.idea
*.iml
61 changes: 61 additions & 0 deletions .plzconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
; We obviously can't rely on anyone having our pex tool already available,
; so in this repo we have to build one without it which we can use to
; compile other python_binary rules within the Please repo itself.
;
; Other projects using Please wouldn't normally need to do anything like this.
[python]
pextool = //src/build/python:bootstrap_pexer
defaultpiprepo = https://s3-eu-west-1.amazonaws.com/py-wheels/index.html

; This is a hack to handle peasant operating systems with case-insensitive file systems.
; I don't want to rename my package so we have one slightly differently named build file
; in this project.
[please]
buildfilename = BUILD
buildfilename = BUILD_

[go]
version = 1.5.3
; We're going to distribute the binaries and they're quite a bit smaller after this.
; Could disable if people strongly preferred this to be distributed as well.
strip = true

[cpp]
defaultcflags = --std=c++11
defaultnamespace = thought_machine

[java]
jarcattool = //src/build/java:jarcat
junitrunner = //src/build/java:junit_runner
pleasemaventool = //src/build/java:please_maven
defaulttestpackage = net.thoughtmachine
; We want the default to remain at java 8 because obviously it's significantly better,
; but the builtin packages here support java 7 fine so it's nice not to require more.
sourcelevel = 7
targetlevel = 7

[proto]
pythonpackage = third_party.python.google.protobuf
; TODO(pebers): Remove these once we rationalise our package names
grpcpythonplugin = `which grpc_python_plugin`
grpcjavaplugin = `which grpc_java_plugin`
protocgoplugin = //third_party/go:protoc-gen-go

[docker]
allowlocalfallback = false

[cache]
dir = .plz-cache
; Too hard to make this guy work during initial bootstrap.
dircachecleaner =

[licences]
accept = MIT
accept = BSD
accept = BSD License
accept = Simplified BSD
accept = BSD 3-Clause
accept = New BSD License
accept = Apache 2.0
accept = Apache License, Version 2.0
accept = PSF
27 changes: 27 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
filegroup(
name = 'please',
srcs = ['//src:please'],
)

filegroup(
name = 'all_tools',
srcs = [
'//src/build/python:please_pex',
'//src/build/java:junit_runner',
'//src/cache/tools:cache_cleaner',
'//src/cache/server:http_cache_server_bin',
'//src/cache/server:rpc_cache_server_bin',
'//src/build/java:jarcat',
'//src/build/java:please_maven',
'//src/misc:plz_diff_graphs',
],
deps = [
'//:please',
],
)

filegroup(
name = 'version',
srcs = ['VERSION'],
visibility = ['PUBLIC'],
)
Loading

0 comments on commit 14387a1

Please sign in to comment.