Greg Magolan
5b3b7d7794
feat: allow write_source_file(s) to write source files to bazel packages outside of the target's package ( #717 )
2024-01-10 15:07:03 -08:00
Greg Magolan
5aaa785b96
chore: test against bazel 7.0.0 ( #713 )
2024-01-07 16:12:05 -08:00
Derek Cormier
46a16e500c
chore: remove expand_template re-export ( #580 )
2023-10-05 12:33:13 -07:00
Alex Eagle
e00ea2b977
chore: update pre-commit buildifier ( #563 )
...
It needs to match the one CI runs in
https://github.com/aspect-build/bazel-lib/actions/runs/6357283303/job/17268197322
2023-09-29 14:42:33 -07:00
Marc Redemske
45986f000d
feat: add list utils ( #512 )
...
* feat: add list utils
* chore: add docs for lists
* fixes accoding to review
---------
Co-authored-by: Alex Eagle <alex@aspect.dev>
2023-09-21 10:12:47 -07:00
Sahin Yort
781d1cbebf
feat: implement chr, ord, and hex ( #425 )
2023-05-15 12:15:55 -07:00
Greg Magolan
bf76da829c
fix: handle directory symlinks in copy_to_directory_bin_action tool binary ( #314 )
2023-01-06 10:29:45 -08:00
Greg Magolan
9059f8fa5e
feat: add executable attribute to write_source_files
2022-12-03 10:46:08 -08:00
Greg Magolan
3d73637ee5
feat: add base64 encode & decode utility functions ( #292 )
2022-11-25 17:00:02 -08:00
Alex Eagle
896ee0c1f0
chore: set test timeouts to short
...
I recently enabled --test_verbose_timeout_warnings and that caused a bunch of warnings in our build.
This fixes it, and adds a utility for us or others to make test-wrapping macros that set to short by default.
2022-08-20 13:58:43 -07:00
Greg Magolan
c867e37856
fix: fix make var expansion in expand_template ( #213 )
2022-08-11 19:30:45 -07:00
Alex Eagle
20d759f669
feat: add utility for asserting that a file contains a string
...
Useful for basic smoke tests of bazel outputs
2022-08-04 18:02:29 -07:00
Greg Magolan
fd03cf0ecb
feat: add glob_match starlark utility function that support "*", "**" and "?" expressions as well as optionally allow for "*" and "?" to match of path separators ( #194 )
2022-07-27 18:48:02 -07:00
Alex Eagle
096133e5d2
feat: platform_transition_filegroup ( #55 )
...
* feat: platform_transition_filegroup
Lifted from https://github.com/aspect-build/gcc-toolchain/pull/8/files
See also https://github.com/fmeum/rules_meta/blob/main/meta/internal/meta.bzl#L4
* test: add tests for transition filegroup
2022-03-30 21:04:14 -07:00
Alex Eagle
2dfacb4d88
feat: expand_template does execpath and vars substitutions ( #6 )
2021-11-11 05:54:42 -08:00
Alex Eagle
cb8c2bad22
feat: add some paths and utils ( #1 )
...
* feat: add some paths and utils
* test: exercise relative to_label
* chore: cleanup naming and rctx helper
2021-11-09 15:13:30 -08:00
Alex Eagle
03eaca91f1
Add unittest
2021-11-08 07:22:47 -08:00