Jesse Tatasciore
63ae772087
fix: Allow relative_file to take in paths starting with ../ ( #166 )
...
* fix: relative_file fix when to path is itself relative starting with ../
* feat: Allow users to use ../ in paths and add tests
* fix: Clarify documentation
Co-authored-by: Greg Magolan <gmagolan@gmail.com>
2022-06-20 14:21:49 -07:00
Alex Eagle
562c4b231d
feat: add to_output_relative_path
...
This is useful in rules_js ecosystem where the working directory is bazel-out/arch/bin so many paths need to be relative to there.
2022-06-13 12:55:22 -07:00
Derek Cormier
ca4a9f8c23
fix: fix buildifier 5.0.0 errors ( #35 )
2022-02-11 07:52:01 -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
da6fb88da7
feat: add runfiles helpers needed for rules_js ( #3 )
...
* feat: add runfiles helpers needed for rules_js
* chore: code review feedback
2021-11-10 06:30:07 -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