までのことだ / までだ

Usage

If it comes to that, I'll just...

Examples

お金を返してくれないなら、警察に連絡するまでだ。 If you don't return the money, I'll just have to contact the police.
これだけ練習したんだから、あとは当日に全力を出すまでだ。 I've practiced this much, so now I just have to give it my all on the day.