Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Add Rakefile for test/package/publish

  • Loading branch information...
commit f15f914a074f04e105305e3c1daaae82e6599942 1 parent 6a6eeaa
@jordansissel authored
Showing with 18 additions and 0 deletions.
  1. +17 −0 Rakefile
  2. +1 −0  test/alltests.rb
View
17 Rakefile
@@ -0,0 +1,17 @@
+task :default => [:package]
+
+task :test do
+ system("cd test; ruby alltests.rb")
+end
+
+task :package => [:test, :package_real] do
+end
+
+task :package_real do
+ system("gem build sshkeyauth.gemspec")
+end
+
+task :publish do
+ latest_gem = %x{ls -t sshkeyauth*.gem}.split("\n").first
+ system("gem push #{latest_gem}")
+end
View
1  test/alltests.rb
@@ -0,0 +1 @@
+require 'test_agent'
Please sign in to comment.
Something went wrong with that request. Please try again.