aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_defs
Commit message (Collapse)AuthorAge
* Added support for scalac and jvm_flags in scala_[library|binary]. Fixes #457.Gravatar John Sullivan2015-09-16
| | | | | | -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/459 MOS_MIGRATED_REVID=103229152
* Fix small typo in exampleGravatar Roland Huß2015-09-15
| | | | | | -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/455 MOS_MIGRATED_REVID=103068929
* Support data and resource attributes in Groovy testsGravatar Erik Kuefler2015-09-15
| | | | | | | -- Change-Id: If79677c963f4991d1ffca2a0878c845df59a6a64 Reviewed-on: https://bazel-review.googlesource.com/#/c/1970/ MOS_MIGRATED_REVID=103016420
* Add Jsonnet rules to Bazel.Gravatar David Chen2015-09-14
| | | | | | | RELNOTES: Add Jsonnet rules to Bazel -- MOS_MIGRATED_REVID=102895524
* Scala rules: Implement scala_binaryGravatar Laurent Le Brun2015-09-11
| | | | | -- MOS_MIGRATED_REVID=102837474
* Scala rules: Make main_class optionalGravatar Laurent Le Brun2015-09-11
| | | | | -- MOS_MIGRATED_REVID=102758930
* Enable compression for Groovy and AppEngine rules.Gravatar Erik Kuefler2015-09-09
| | | | | | | -- Change-Id: I22c82e4a24839e0832cf5148e13fc6f0eafc0f2b Reviewed-on: https://bazel-review.googlesource.com/#/c/1952/ MOS_MIGRATED_REVID=102640555
* Fix the installer and fixing the package shiped into binary version of Bazel.Gravatar Damien Martin-Guillerez2015-09-08
| | | | | -- MOS_MIGRATED_REVID=102567966
* Fix Groovy rules to work with sandboxingGravatar Erik Kuefler2015-09-08
| | | | | | | -- Change-Id: Id6b14c65e5737f31001fcbdd0d8e1cf34f21336b Reviewed-on: https://bazel-review.googlesource.com/1953 MOS_MIGRATED_REVID=102513900
* Add initial D rules to Bazel.Gravatar David Chen2015-09-08
| | | | | -- MOS_MIGRATED_REVID=102513092
* Add missing tools directory in the filegroup to packageGravatar Damien Martin-Guillerez2015-09-03
| | | | | | | A lot of build rules weren't shiped in the Bazel binary because of those missing filegroups -- MOS_MIGRATED_REVID=102223626
* Tweak groovy rules to get their dependencies from //external instead of relyingGravatar Erik Kuefler2015-09-02
| | | | | | | | | | | | | on @ targets. This makes them easier to use in third-party repos since the user only has to define bindings in their WORKSPACE to whatever artifacts they want, rather than having to provide artifacts with an exact name. Related to #409. -- Change-Id: Ifc17bc5e7205ce5ce23d2ed1a72dd9ad93e42b97 Reviewed-on: https://bazel-review.googlesource.com/1940 MOS_MIGRATED_REVID=102135202
* Add Scala library rule.Gravatar Laurent Le Brun2015-09-02
| | | | | -- MOS_MIGRATED_REVID=102038201
* Basic groovy_test supportGravatar Erik Kuefler2015-08-27
| | | | | | | -- Change-Id: I11d65bcacbb4a2037e29c6b3af7c4ff545636738 Reviewed-on: https://bazel-review.googlesource.com/#/c/1830/1 MOS_MIGRATED_REVID=101669018
* Add Skylark rules for groovy_library and groovy_binary.Gravatar Erik Kuefler2015-08-12
| | | | | | | | | | | This is a slightly cleaned-up version of the rules from https://github.com/ekuefler/bazel-groovy, which my team has been using for a few months. I'll add the test rules from there separately. -- Change-Id: I07b5270bfdada5244ed82dee617b4997855747d8 Reviewed-on: https://bazel-review.googlesource.com/#/c/1590/ MOS_MIGRATED_REVID=100476149
* docker_build: workaround the lack of LZMA in python 2.7Gravatar Damien Martin-Guillerez2015-08-12
| | | | | | | | | | | | | | | Some debs file actually does use the LZMA compression and reading that format requires python 3. Backports of LZMA to python 2 are using native deps which might be hard for the user to setup and our support of python 3 is not really functional (it needs 2to3 to use gflags for instance). Until we fix Bazel's python 3 support, we shell out to xzcat for supporting LZMA compressed file. Also added test for the archive library. These tests shows some wrong handling in the AR format padding, fixed. -- MOS_MIGRATED_REVID=100474498
* docker_build: fix JSON rewriting when some fields are nullGravatar Damien Martin-Guillerez2015-08-10
| | | | | | | | | Image generated by docker build might put "null" as entry value in the JSON metadata. Ignore those value when doing the deep copy to avoid error on assigning to "NoneType". -- MOS_MIGRATED_REVID=100145909
* docker_build: Fix archive's AR format alignmentGravatar Damien Martin-Guillerez2015-08-10
| | | | | -- MOS_MIGRATED_REVID=100125974
* docker_build: Fix double slashes in path resolutionGravatar Damien Martin-Guillerez2015-08-04
| | | | | | | | Before the leading slash were not striped before appending the path prefix, leading to a double slash at that point. -- MOS_MIGRATED_REVID=99807605
* Fix docker_build file path when file is generatedGravatar Damien Martin-Guillerez2015-08-04
| | | | | | | | | | | | | | | If the file is generated, by a genrule for instance, then the stripping of the prefix was incorrect because the used path was containing 'bazel-out/...' prefix. This change moved the prefix stripping to the Skylark rule so we can use "short_path". Also fix the test paths. Tested by bazel test //tools/build_defs/docker:build_test. -- Change-Id: Ia3eb98268505002bade1f6b0dd916e1a9767a530 Reviewed-on: https://bazel-review.googlesource.com/1770 MOS_MIGRATED_REVID=99710676
* Docker rules: fallback to reading the repositories file when top is absentGravatar Damien Martin-Guillerez2015-07-27
| | | | | | | | | | Docker pulled image do not have the 'top' file but does have a one entry repositories files. To enable using them as input to the docker_build rule, we read the repositories file if no 'top' file is present and use the first declared image as the parent name. -- MOS_MIGRATED_REVID=99181235
* s/the the/the/Gravatar Googler2015-07-27
| | | | | | | s/package/packages/ -- MOS_MIGRATED_REVID=99175780
* Add docker_build for building Docker image using BazelGravatar Damien Martin-Guillerez2015-07-27
docker_build is a Skylark rule that describe a docker image. You can replace Dockerfile by a docker_build to use Bazel's incrementality model. -- MOS_MIGRATED_REVID=99160762