Simple compile on a remote machine

Normally, I try and compile and run programs locally and then upload a working, tested version to the final machine for more testing. This time, however, it was too difficult to compile and run it locally, and I needed to run and test on one of the HP servers. I set up my ssh account so that I could copy file without a password as shown here. But it was still more work than I wanted to do. Edit - Save - Switch local command line and copy - switch remote server make - run, repeat.
So I wrote a little python program to upload only files I recently updated and to compile and run on the server. It's all setup in SciTE so that F5 does it all and the output goes in the errorlist window. I can even press the F4 key and go directly to the first error, if any.

Comments

Popular posts from this blog

Why does God hate amputees?

Shortest Sudoku solver in Python