Skip to content

Releases: bazeltools/bzl-gen-build

Auto generated release for bzl-gen-build

06 Dec 23:53
f920034
Compare
Choose a tag to compare
Header comment (#168)

**Problem**
I want to find all the generated BUILD files, but they are intermixed with hand-written ones.

**Solution**
This adds comments at the top and the bottom of the file so we can automatically detect
generated BUILD files.

Auto generated release for bzl-gen-build

18 Sep 20:12
477743d
Compare
Choose a tag to compare
v0.1-94

Make reader tolerant to files without utf-8 encoding, add some tests …

Auto generated release for bzl-gen-build

31 Aug 00:28
f1cdbb9
Compare
Choose a tag to compare
Attempt to improve jarscanner perf (#134)

* Add script for timing jarscanner on scala jars

* Create a custom error enum so that we don't do dynamic error boxing

* Use a mutable buffer (vec) for operations

* Use bufwriter for speed

* Extend only at end

* Fix tests

* Try using regex

* BufReader

* Iterate once

* We didnt need regex

* Lockfile

* Only use HashSet

* Remove this error

* Dont need to clone

* Saw k

* Use serde write, track g

* Use BTreeSet

* remove while loop

* Use was_dot instead, and add two more test cases

Auto generated release for bzl-gen-build

29 Aug 19:46
75e5103
Compare
Choose a tag to compare
Well-known protobuf sources (#132)

* Well-known protobuf sources

Problem
-------
Currently well-known protobuf sources are not handled automatically,
and requires tedious directive commenting.

Solution
--------
This automatically creates `manual_ref` for well-known protobuf sources.

Auto generated release for bzl-gen-build

29 Aug 14:30
0d27a74
Compare
Choose a tag to compare
Update README.md (#128)

fix some typos and note that protofbuf is supported now.

Co-authored-by: eugene yokota <[email protected]>

Auto generated release for bzl-gen-build

24 Aug 19:12
197f977
Compare
Choose a tag to compare
v0.1-90

Add jarscanner to our exports (#126)

Auto generated release for bzl-gen-build

23 Aug 18:08
eec4c8f
Compare
Choose a tag to compare
Implement --no-aggregate-source mode (#117)

Problem
-------
For protobuf, we'd like to generate one target per `*.proto` file,
not aggregate all `*.proto` under the directory.

Solution
--------
This implements command-line option called `--no-aggregrate-source`
which change the way graph is constructed to use files, instead of
the directories.

Auto generated release for bzl-gen-build

21 Aug 17:10
6eba843
Compare
Choose a tag to compare
Rename directory to entry as a prep step + Fix deps expansion (#122)

* Rename directory to entry as a prep step

* Fix deps expansion

Problem
-------
secondary supports `deps` to be suffixed with something like `__py`,
but it currently doesn't take in account of the label name abbrebiation
like `a/b` (`a/b:b`), creating deps to `a/b__py`, which won't exist.

Solution
--------
This expands `a/b` into `a/b:b` when used for `deps`.

Auto generated release for bzl-gen-build

19 Aug 03:32
772e225
Compare
Choose a tag to compare
v0.1-87

Implement directives support (#118)

Auto generated release for bzl-gen-build

17 Aug 22:05
7d758b5
Compare
Choose a tag to compare
v0.1-86

Dont mutate the hash map (#115)