https://pantsbuild.org/ logo
#general
Title
# general
p

purple-plastic-57801

05/15/2023, 8:50 PM
Is there an example on how to use
run_shell_command
with a shell script? I can't seem to get it to load a .sh file next to the BUILD file
1
Copy code
run_shell_command(
    name = "foo",
    command="./libcamera.sh",
    execution_dependencies=[":libcamera.sh"]
)

file(source="libcamera.sh")
Rats.. nevermind. I can't spell. The filename was wrong .. llibcamera != libcamera 🤦
🙈 1
3 Views