stjude-rust-labs / wdl

Rust crates for working with Workflow Description Language (WDL) documents.
Apache License 2.0
26 stars 6 forks source link

Lint rule for ensuring `set -euo pipefail` or similar is set #190

Open a-frantz opened 1 month ago

a-frantz commented 1 month ago

Upgrading discussion #60 to an issue for visibility.

Repeating myself, but I would think there's an "off the shelf" solution we can pull for this. It might involve shelling out, but I think that would be ok. I just don't want us to get in the business of writing a Bash parser 😬

a-frantz commented 1 month ago

I would rank this as a lower priority than #191 and implementing shellcheck might provide a simple solution to this. So this should probably take a backseat until we get shellcheck incorporated.