Only run the command if compilation succeeds.