pulsar/script/cibuild

16 lines
391 B
Plaintext
Raw Normal View History

2012-08-31 21:43:21 +04:00
#!/usr/bin/env ruby
sha = `git rev-parse HEAD`.chop
key = File.expand_path('../atom.githubapp.com', __FILE__)
system 'chmod', '600', key
system 'ssh',
'-l', 'atom',
2012-08-31 21:43:21 +04:00
'-i', key,
'-o', 'StrictHostKeyChecking=no',
'-p', '6000',
'atom.githubapp.com',
"rm -rf ~/.atom && cd /Users/atom/code/atom && git fetch -q origin && git reset -q --hard #{sha} && rake test"
2012-08-31 21:43:21 +04:00
exit $?.exitstatus