The cleanest way is to wrap it in a `block: ...` expression: 
    
    
    when compiles((block:
            echo "test 1"
            echo "test 2")):
        discard
    
    
    Run

Reply via email to