Derek Cormier
72a26212f2
Add platform_transition_binary rule ( #289 )
...
* feat: add platform_transition_binary rule
2022-12-14 11:21:08 -08:00
Greg Magolan
3d73637ee5
feat: add base64 encode & decode utility functions ( #292 )
2022-11-25 17:00:02 -08:00
Alex Eagle
a9dc052c8b
feat: add assert_outputs
...
It's a simple way to make an executable example demonstrate what outputs a rule produces.
See https://github.com/aspect-build/rules_ts/pull/214 for an example usage in the real world.
2022-10-31 15:25:12 -07:00
Greg Magolan
f030847908
feat: add maybe_http_archive ( #270 )
2022-10-27 15:55:57 -07:00
Greg Magolan
6f37a3808b
fix: isolate bzl_libary targets for //lib/private:*.bzl i //lib/private/docs package so that platform_utils dep on @local_config_platform//:constraints doesn't leak unless downstream consumer is generating docs ( #254 )
2022-09-27 09:59:19 -07:00
Greg Magolan
8e230b0721
feat: add bazel_version value to host_repo repository rule ( #246 )
2022-09-16 11:51:48 -07:00
Greg Magolan
65e852f774
fix: don't generate @aspect_bazel_lib_local_config_platform repository as it is a leaky abstraction for rule consumers and not just rule authors ( #243 )
2022-09-13 21:58:08 -07:00
Greg Magolan
be5c9d06bc
fix: fix bzl_library breakage created with load from @local_config_platform in copy rules ( #242 )
2022-09-13 20:37:24 -07: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
a945d66eb5
chore: add glob_match to docs ( #195 )
2022-07-28 11:15:14 -07:00
Alex Eagle
de081fb72e
feat: basic stamping support
2022-07-14 22:37:42 -07:00
Greg Magolan
41ce34470f
feat: add @aspect_bazel_lib_host repository and normalize function names in repo_utils ( #90 )
2022-04-28 14:18:06 -07:00
Derek Cormier
3e4024c785
feat: yq ( #80 )
2022-04-19 21:45:06 -07:00
Greg Magolan
b2955dcb05
feat: add copy_to_bin rule ( #69 )
2022-04-12 16:31:04 -07:00
Greg Magolan
322bbc92df
feat: add repo_utils with fork of @bazel_tools patch function that takes a working_directory argument
2022-04-11 18:15:32 -07:00
Derek Cormier
a23d1b03f7
feat: add copy_directory ( #63 )
2022-04-03 17:52:03 -07:00
Greg Magolan
e30e89fa3d
feat: add run_binary with output directory support & improved makevar expansion ( #57 )
2022-03-31 20:04:35 -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
Greg Magolan
bda5c632be
feat: replace default_info_files with output_files which adds output_group attribute ( #50 )
2022-03-15 17:36:22 -07:00
Greg Magolan
3b93ee0baa
Add DefaultOutputPathInfo provider and update write_source_files to accept it ( #48 )
...
Also update write_source_files to accept DirectoryPathInfo
2022-03-14 17:33:52 -07:00
Greg Magolan
0fd56dc59d
feat: add directory_path rule and DirectoryPathInfo for specifying files within tree artifacts ( #42 )
2022-03-03 16:40:32 -08:00
Derek Cormier
8e6a15ceae
feat: write_source_files
2022-02-07 10:00:35 -08:00
Derek Cormier
b8347b5f0a
feat: add jq toolchain and rule
2021-12-14 17:59:52 -08:00
Alex Eagle
aca19c4ac7
fix: release archive needs a strip_prefix ( #14 )
...
Also remove some dead code
2021-12-11 12:43:57 -08:00
Greg Magolan
0d2981f288
feat: copy_to_directory copies files and directories to an output directory
2021-11-16 21:30:32 -08:00
Alex Eagle
f6b016bdb9
chore: run gazelle to add missing bzl_library
2021-11-10 06:43:01 -08:00
Chaitanya Varier
6f7469dd03
feat: add doc helpers ( #2 )
...
* add stardoc helpers
* fix incorrect default template in stardoc_with_diff_test()
* add stardoc helpers
* fix failing build for docs.md; add templates; cleanup
2021-11-10 06:34:00 -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
bf35529fc9
Initial commit
2021-11-08 06:46:16 -08:00