mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 18:24:09 +03:00
15 lines
394 B
Ruby
Executable File
15 lines
394 B
Ruby
Executable File
#!/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', 'github',
|
|
'-i', key,
|
|
'-o', 'StrictHostKeyChecking=no',
|
|
'-p', '6000',
|
|
'atom.githubapp.com',
|
|
"cd /Users/github/code/atom && git fetch -q origin && git reset -q --hard #{sha} && rake test && rake benchmark"
|
|
|
|
exit $?.exitstatus |