PROS Convience Script

I have been using the following bash script when building and pushing my code to the robot, it compiles then downloads, and attempts to download until success:

function deploy {
pros make -j9
until pros flash -f .
    echo "Failed to push, trying again... (Press Ctrl-C to stop)"

Put that into your


(Linux, OS X, and Git Bash/MinTTY/MinGW/etc. on Windows) and then push your code using


. Hope this makes your life a little easier!

Its 2017 and you aren’t using multiple cores for compiling?

pros make -j9


Huh, TIL