2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-12-01 07:15:24 +00:00
Commit graph

504 commits

Author SHA1 Message Date
Greg Magolan 01f5c3e949
chore: parallelize copies in copy_directory with go routines (#326) 2023-01-14 19:09:57 -08:00
Greg Magolan 7b6c814e27
Add copy_directory binary tool (#324) 2023-01-14 15:51:01 -08:00
Greg Magolan 4edb5018e8
chore: update pre-bazel 6 work-around in utils to only apply for bazel versions < 6 (#320) 2023-01-14 12:13:02 -08:00
Greg Magolan 8d21ed00d4
Add hardlink support to copy_to_directory binary tool (#322) 2023-01-14 07:55:23 -08:00
Alex Eagle 14b8ec7a7b refactor: just point to jq doc 2023-01-09 11:31:15 -08:00
Derek Cormier 0df23e54db feat: modify assert_json_matches api before release 2023-01-09 11:31:15 -08:00
Derek Cormier c64bb72324 fix: write_source_files incompatibility with bzlmod when writing from external repo 2023-01-09 10:54:51 -08:00
Alex Eagle fc0ff4de2b chore: update bcr homepage 2023-01-07 16:53:48 -08:00
Alex Eagle fe867981ee feat(jq): add a diff_test helper
This is useful in rules_swc where we want to check that tsconfig.json and .swcrc have matching paths, and most users will want that too
2023-01-07 13:10:28 -08:00
Greg Magolan fb3ef6e45d
feat: improved copy_to_directory performance & globbing support using copy_to_directory_bin_action (#311) 2023-01-07 11:26:27 -08:00
Konstantin Zadorozhny b13fd20bee
Remove the use of realpath in tests (#315)
* do not use realpath

* make the file to follow symlinks on linux
2023-01-06 11:56:25 -08: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 f241f28f17
chore: switch copy_to_directory binary tool to use com_github_bmatcuk_doublestar_v4 instead of com_github_gobwas_glob (#313) 2023-01-05 14:24:24 -08:00
Greg Magolan 1aa5280092 chore: fixup GH release yaml 2023-01-03 12:37:05 -08:00
Greg Magolan 8457e351a1
chore: update release to include copy_to_directory action binary (#309) 2023-01-03 12:26:51 -08:00
Greg Magolan ec13ec9a69
feat: improve performance of copy_to_directory by moving glob match & copying to a golang binary (#308) 2023-01-03 09:42:20 -08:00
Greg Magolan 8334e127a7
chore: update to Aspect CLI v5.1.1 (#310) 2023-01-03 00:23:16 -08:00
Greg Magolan b5e5edc158
chore: bring in multi-platform releases rules for copy_to_directory golang binary (#306) 2023-01-01 16:14:48 -08:00
Greg Magolan 4ad1dc2398
chore: run gazelle for golang (#305) 2023-01-01 15:37:00 -08:00
Greg Magolan bad190e3dd
chore: ignore override_local_config_platform if Bazel 6 or newer (#304) 2023-01-01 15:17:41 -08:00
Greg Magolan 0327e5c221
chore: update to Bazel 6.0.0 and Aspect CLI 5.1.0 (#303) 2023-01-01 14:15:59 -08:00
Greg Magolan 0d456be3c6
fix: formatting for new docsite (#302) 2022-12-28 08:03:18 -08:00
Derek Cormier 2689a48940
fix: fix a bug where transition tests required cpp toolchain on osx (#299) 2022-12-14 18:49:45 -08:00
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 2c66c1c778
fix: fail with better error message with trying to base64 decode a string that is not base64 encoded (#298) 2022-12-12 12:03:18 -08:00
Alex Eagle d82f551393
Update workspace_snippet.sh 2022-12-04 09:42:52 -08:00
Greg Magolan 35b7662e55
fix: write_source_files should use target platform for additional_update_targets (#297) 2022-12-03 15:02:33 -08:00
Greg Magolan 68aee64093
feat: add write_source_file to public API (#295) 2022-12-03 14:57:28 -08:00
Greg Magolan 421cf266bc
fix: add diff_test to docs (#296) 2022-12-03 11:32:37 -08:00
Greg Magolan 0109a2eee3
refactor: use rm -R instead -r as it is the primary option and lowercase -r is the alias (#294) 2022-12-03 10:52:52 -08:00
Greg Magolan 9059f8fa5e feat: add executable attribute to write_source_files 2022-12-03 10:46:08 -08:00
Greg Magolan e9b66b5e0a
Update README.md 2022-11-25 21:59:05 -08:00
Greg Magolan 5215e22a9e
Update README.md 2022-11-25 21:58:51 -08:00
Greg Magolan 3d73637ee5
feat: add base64 encode & decode utility functions (#292) 2022-11-25 17:00:02 -08:00
Greg Magolan b1ee3675f2
build: fix bzlmod presubmit failure with bazel version (#288) 2022-11-18 13:05:24 -08:00
Greg Magolan 690cdbf953
chore: unrelease (#287) 2022-11-17 14:36:52 -08:00
Greg Magolan f4d07dd326
chore: update to Aspect CLI 5.0.1 (#286) 2022-11-16 16:12:46 -08:00
Greg Magolan 57d5511867
chore: update to Aspect CLI 5.0.0 (#285) 2022-11-16 01:56:57 -08:00
Greg Magolan 1f259abdd2
chore: update to Aspect CLI 4.3.2 (#284) 2022-11-15 21:12:47 -08:00
Greg Magolan b5e0ac13e1
perf: optimize glob_match if the expression does not have any glob symbols (#283) 2022-11-14 14:45:25 -08:00
Greg Magolan 98998d5c72
build: use Aspect CLI in e2e tests (#282) 2022-11-14 10:11:48 -08:00
Greg Magolan c3b849a69e
chore: update to Aspect CLI Pro 4.2.2 (#281) 2022-11-12 10:19:30 -08:00
Greg Magolan 5cf6ff92a5
ci: fix pattern for Bazel version CI matrix so Aspect CLI is still used (#280) 2022-11-12 07:31:19 -08:00
Greg Magolan 5c0a8f07a8
chore: update to Aspect CLI Pro 4.2.1 (#279) 2022-11-11 17:45:37 -08:00
Alex Eagle a145c6bb47
feat: install Aspect CLI for all users (#278)
Assuming you are using Bazelisk, this causes it to fetch Aspect's CLI and use that to wrap Bazel
2022-11-10 13:52:31 -08:00
Greg Magolan f43e2944ca release: v1.16.1 2022-11-07 18:29:35 -08:00
Greg Magolan 9077a147c0
fix: fix copy_to_directory flattening with root_paths = ['**'] (#277) 2022-11-07 18:28:04 -08:00
Greg Magolan eab96f51f0
refactor: move bzl_library target out of @local_config_platform and just use exports_files in there instead (#276) 2022-11-04 15:11:14 -07:00
Greg Magolan 1f76b0b0bb
chore: nit cleanup in copy_to_directory _longest_glob_match helper (#275) 2022-11-03 09:42:03 -07:00
Greg Magolan bd65e6ccfb release: v1.16.0 2022-11-02 18:45:57 -07:00