Skip to content

Instantly share code, notes, and snippets.

@huonw

huonw/BUILD Secret

Last active February 6, 2023 21:34
Show Gist options
  • Save huonw/c95933eeb581cdb669324d12a0edd3b2 to your computer and use it in GitHub Desktop.
Save huonw/c95933eeb581cdb669324d12a0edd3b2 to your computer and use it in GitHub Desktop.
experimental_shell_command(
name="missing-output",
command="true",
tools=[],
output_files=["doesnt-exist.txt"]
)
archive(name="archive", files=[":missing-output"], format="zip")
experimental_run_shell_command(
name="run",
command="ls -l $CHROOT",
execution_dependencies=[":missing-output"],
)
[GLOBAL]
pants_version = "2.16.0.dev6"
backend_packages = [
"pants.backend.shell",
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment