diff options
author | Damien Martin-Guillerez <dmarting@google.com> | 2015-09-03 14:12:39 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2015-09-03 14:43:18 +0000 |
commit | 78ffe43ec89edc484dca5cf581cf5d8cff558fd6 (patch) | |
tree | cb02012060d27042211e88d03b71f22aff11092c /third_party/py | |
parent | afd81ab1a04d36b3d479b0122bbc6aa4aa7d1505 (diff) |
Add more source filegroups for the installer
With those filegroup the tutorial is able to compile iOS and
App Engine stuff. Here how to test:
git clone https://github.com/bazelbuild/bazel
git clone https://github.com/bazelbuild/examples
export BAZEL_WORKSPACE=$PWD/bazel
export EXAMPLES_WORKSPACE=$PWD/examples
cd $BAZEL_WORKSPACE
./compile.sh
./output/bazel --bazelrc=/dev/null --nomaster_bazelrc \
build //scripts/packages:install.sh
export BAZEL_INSTALLER=$(readlink bazel-bin)/scripts/packages/install.sh
cd $EXAMPLES_WORKSPACE
./tutorial/ci/build.sh
--
Change-Id: I553ab8821f5a5cdcc7a8b4614e23ca4c79581e4f
Reviewed-on: https://bazel-review.googlesource.com/1878
MOS_MIGRATED_REVID=102239866
Diffstat (limited to 'third_party/py')
-rw-r--r-- | third_party/py/concurrent/BUILD | 6 | ||||
-rw-r--r-- | third_party/py/gflags/BUILD | 6 | ||||
-rw-r--r-- | third_party/py/mock/BUILD | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/third_party/py/concurrent/BUILD b/third_party/py/concurrent/BUILD index 5a9d3cff9f..913d4167e6 100644 --- a/third_party/py/concurrent/BUILD +++ b/third_party/py/concurrent/BUILD @@ -1,5 +1,11 @@ licenses(["notice"]) +filegroup( + name = "srcs", + srcs = glob(["**"]), + visibility = ["//third_party:__pkg__"], +) + py_library( name = "futures", srcs = glob(["**/*.py"]), diff --git a/third_party/py/gflags/BUILD b/third_party/py/gflags/BUILD index 6e475abaea..a8da15d93b 100644 --- a/third_party/py/gflags/BUILD +++ b/third_party/py/gflags/BUILD @@ -1,5 +1,11 @@ licenses(["notice"]) +filegroup( + name = "srcs", + srcs = glob(["**"]), + visibility = ["//third_party:__pkg__"], +) + py_library( name = "gflags", srcs = [ diff --git a/third_party/py/mock/BUILD b/third_party/py/mock/BUILD index 5cf52f660a..2d4961de9e 100644 --- a/third_party/py/mock/BUILD +++ b/third_party/py/mock/BUILD @@ -1,5 +1,11 @@ licenses(["notice"]) +filegroup( + name = "srcs", + srcs = glob(["**"]), + visibility = ["//third_party:__pkg__"], +) + py_library( name = "mock", srcs = ["__init__.py"], |