Last active
May 11, 2016 07:34
-
-
Save MizukiSonoko/1eee3bd7b12882bbff97bb78e58988e2 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
if [ $# -ne 1 ]; then | |
echo "plz ex[0-1][1-9] " | |
exit 1 | |
fi | |
echo " | |
curl -s -f -L -u \"mizuki.sonoko/token:$API_KEY\" https://github.com/MizukiSonoko/$REPO_NAME/archive/master.zip -O | |
unzip master.zip | |
rm master.zip | |
mv $REPO_NAME-master/$1 ~/lp | |
rm -rf $REPO_NAME-master | |
cd ~/Kadai/$1/testdir | |
make clean | |
make | |
./testall.sh | |
" > script.sh | |
ssh ID @university.ac.jp 'bash -s' < script.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment