Created
November 17, 2011 19:30
-
-
Save qepic42/1374190 to your computer and use it in GitHub Desktop.
Xcode3- Run Build Remote
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // In das feste Verzeichnis vom Build-Ordner springen | |
| cd /Users/jan/Documents/ServerBackup/build/ | |
| // Aktuellen Build mit tar packen | |
| tar -czf currentBuild.tgz Debug/ServerBackup.app | |
| // tar-Archiv via scp auf den Ziel Rechner kopieren | |
| scp /Users/jan/Documents/ServerBackup/build/currentBuild.tgz q@192.168.2.108:/Users/q/Desktop/currentBuild.tgz | |
| // tar-Archiv entfernt entpacken | |
| ssh q@192.168.2.108 tar -xzf /Users/q/Desktop/currentBuild.tgz | |
| // Build ausführen | |
| ssh q@192.168.2.108 open /Users/q/Debug/ServerBackup.app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment