Skip to content

Instantly share code, notes, and snippets.

@cookie-s
Last active December 14, 2016 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cookie-s/812597bc698eaa58ea792520d8039b6e to your computer and use it in GitHub Desktop.
Save cookie-s/812597bc698eaa58ea792520d8039b6e to your computer and use it in GitHub Desktop.
testasm
let g:quickrun_config['asm'] = {
\ 'exec' : './testasm.sh %s'
\ }
#!/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