2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-12-02 10:15:22 +00:00
Commit graph

109 commits

Author SHA1 Message Date
Derek Cormier 9ef738909b fix: incorrect variable name 2022-04-01 10:52:09 -07:00
Derek Cormier ccea32c670 fix: fix invalid format string 2022-04-01 10:52:09 -07:00
Greg Magolan e679a26b42
fix: use -R instead of -r in cp calls so macos & linxu behavior is the same (#58) 2022-04-01 00:57:34 -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
Jason Bedard 229fcfb881
test(write_source_files): ensure generated git-ignored files are created (#56) 2022-03-30 17:48:14 -07:00
Jason Bedard a2e228dde0
fix(write_source_files): fix writing to workspace root (#53) 2022-03-30 17:04:35 -07:00
Jason Bedard d21acfbd5a
test - add bash script tests to CI (#54) 2022-03-30 17:01:16 -07:00
Greg Magolan 3599515632
fix: ensure out_file does not show up in source file query of write_source_file so that it can be used with ibazel (#52) 2022-03-28 14:53:58 -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
Derek Cormier 7f2641cd07 reimplement stardoc_with_diff_test to use write_source_files 2022-03-11 09:50:55 -08: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 f788d286d0
feat: write to source folders (#41) 2022-03-02 12:58:36 -08:00
Derek Cormier ca764e53e8
feat: write_source_files bulk write for windows (#43) 2022-03-02 12:56:50 -08:00
Derek Cormier 71c1b893d6
feat: bulk updates for write_source_files (#40) 2022-02-28 15:42:20 -08:00
Derek Cormier 2195e1c69a feat: write_source_files windows implementation 2022-02-24 16:45:31 -08:00
Alex Eagle ba8b737c24
chore: Update github archive URLs to have stable SHAs (#32)
Required per https://github.com/bazel-contrib/SIG-rules-authors/issues/11
2022-02-11 08:03:34 -08:00
Derek Cormier ca4a9f8c23
fix: fix buildifier 5.0.0 errors (#35) 2022-02-11 07:52:01 -08:00
Derek Cormier 2ff9c7154b
fix: fix typo in bazel ci config file name (#34) 2022-02-10 20:47:27 -08:00
Derek Cormier f5a63b5dd4
build: add a presubmit.yml file for bazel buildkite ci (#33) 2022-02-10 18:53:30 -08:00
Derek Cormier 8e6a15ceae feat: write_source_files 2022-02-07 10:00:35 -08:00
Derek Cormier 8a287def7c fix: improve jq usage docs 2022-02-07 09:45:02 -08:00
Matt Mackay c54981857a
fix: add missing .bzl suffix in release template loads (#29) 2022-01-30 16:25:57 -08:00
Greg Magolan 40e25c0b37
fix: use robocopy in copy_file#is_directory and copy_to_directory (#26)
so we don't hit the file path length limit of xcopy
2022-01-27 04:57:52 -08:00
Derek Cormier 81eaa054b7
build: fix ci build caching (#25) 2022-01-21 08:48:43 -08:00
Matt Mackay 1b28271ebc
[utils] propagate CPU tags (#24) 2022-01-18 16:24:44 -05:00
Alex Eagle d40d0bfb55 license under apache 2 2021-12-21 16:54:15 -08:00
Greg Magolan 8f27b63480 feat: add forked diff_test that handles comparing directories 2021-12-21 16:12:05 -08:00
Greg Magolan 3bce8db100 fix: add windows implementation of copy_to_directory 2021-12-21 16:12:05 -08:00
Derek Cormier e371656bc3 feat: load jq filter from file 2021-12-20 13:21:26 -08:00
Alex Eagle 885fcb3f6e
fix: expose bare jq/jq.exe binary (#20) 2021-12-18 11:13:24 -08:00
Alex Eagle 87cecb51a2
fix: allow tags/visibility on jq rule (#19)
fixes #18
2021-12-17 16:55:00 -08:00
Alex Eagle ff2c2d2d33
Fix release snippet load statements 2021-12-17 16:41:59 -08:00
Greg Magolan 8dc3d2e52a feat: add include_external_repositories and exclude_prefixes attributes to copy_to_directory
Also change the default behavior such that files from external repositories are not included unless the external repository is listed in include_external_repositories
2021-12-16 17:37:54 -08:00
Derek Cormier c0121bdb32
docs: add jq usage examples (#16)
* docs: add jq usage examples

* (squash) use backticks for usage examples
2021-12-15 16:02:28 -08:00
Derek Cormier 4c2620cded
docs: update workspace snippet with jq instructions (#15) 2021-12-15 11:51:29 -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
Alex Eagle 2dc7954b5a fix: add missing file for release process 2021-12-11 11:39:58 -08:00
Alex Eagle 1c5fb6370b
refactor: simplify release (#13)
Fixes #12
2021-12-11 11:27:39 -08:00
Alex Eagle 48b0a774ea
fix: copy_to_directory exposes output in runfiles (#10) 2021-12-01 17:09:48 -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 905cbb582f release: update instructions 2021-11-11 07:02:50 -08:00
Alex Eagle c891bbcf52 release: don't require manual edits to version.bzl
Instead the release process should key off the git tag
2021-11-11 06:57:46 -08:00
Alex Eagle 2dfacb4d88
feat: expand_template does execpath and vars substitutions (#6) 2021-11-11 05:54:42 -08:00
Alex Eagle c2aa4762d4 release 2021-11-10 10:41:16 -08:00
Alex Eagle 3037b9615a
fix: also correct the workspace in another case of to_label (#5) 2021-11-10 10:38:54 -08:00
Alex Eagle 619ebe6062 release 2021-11-10 09:11:56 -08:00
Alex Eagle 2b43162a76
fix: construct labels relative to calling workspace (#4) 2021-11-10 09:11:32 -08:00