Skip to main content
100%

run1:test (OK)

✓ Published0🌍 Public
HHypercubed
Last edited Jul 14, 2022
Created on Jul 14, 2022

This example demonstrates the Chomp task runner's behavior with different wildcard patterns in task names, highlighting a discrepancy between `run1:#` and `run2:##` when handling variable substitution. The visualization pairs terminal output from successful `chomp` commands with the corresponding `chompfile.toml` configuration, showing how `$DEP` and `$TARGET` resolve to full filenames in the first case but truncate to shorter names like `st.out` in the second. The rendered output uses monospaced text blocks to juxtapose command execution results, revealing that the `#` wildcard matches a single character while `##` matches multiple, causing the observed path shortening. This comparison effectively exposes a subtle naming convention pitfall in Chomp's task definitions.

AI-generated description

run1:test (OK)

Running run1:test works fine

chomp run1:test
🞂 ./test.out
./test.txt ./test.out
√ ./test.out [4.791791ms]

run1:

Running run1: results in truncated paths

chomp run1:
🞂 ./st.out
./st.txt ./st.out
√ ./st.out [6.474458ms]
√ :run1:#

Similar vizzes