Last active
December 14, 2016 14:29
-
-
Save cookie-s/812597bc698eaa58ea792520d8039b6e to your computer and use it in GitHub Desktop.
testasm
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
let g:quickrun_config['asm'] = { | |
\ 'exec' : './testasm.sh %s' | |
\ } |
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 | |
dir=$(dirname $1) | |
kadai=${dir##*/} | |
scp -r $kadai _ksjasm:~ && ssh _ksjasm "cd $kadai && make && ./main" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment