This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Root BUCK file | |
| http_archive( | |
| name="dive", | |
| urls=["https://github.com/wagoodman/dive/releases/download/v0.12.0/dive_0.12.0_linux_arm64.tar.gz"], | |
| sha256="a2a1470302cdfa367a48f80b67bbf11c0cd8039af9211e39515bd2bbbda58fea", | |
| strip_prefix='dive', | |
| sub_targets=["dive"], | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def _executable_package_impl(ctx): | |
| srcs = {file.short_path: file for file in ctx.attrs.support_files} | |
| srcs.update({exe.short_path: exe for name, exe in ctx.attrs.executables.items()}) | |
| # First make a directory containing all of the executables and support files with symlinks into the source tree, so that | |
| # we can refer to them and make them available to other rules. | |
| out_dir = ctx.actions.symlinked_dir("out", srcs) | |
| # Define an "artifact" for each one (basically a Starlark artifact object for each of the symlinks we just created), so | |
| # that we can set up the proper action graph dependencies. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # prelude-replay/tar/BUCK | |
| export_file( | |
| name="tar_file.py", | |
| visibility=["PUBLIC"], | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| url="https://chromewebstore.google.com/detail/magical-ai-writer-autofil/iibninhmiggehlcdolcilmhacighjamp" | |
| id=$(echo "$url" | sed -n 's/.*\/\([a-z]\{32\}\)$/\1/p') | |
| if [ -z "$id" ]; then | |
| echo "Invalid Chrome Web Store URL." | |
| exit 1 | |
| fi |
OlderNewer