Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing the test_using_lesspainful_com script

  • Loading branch information...
commit 762d8055a591e2e214196b1cb5fc08435d922283 1 parent 99b0a85
@jonasmaturana jonasmaturana authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  test_using_lesspainful_com.rb
View
3  test_using_lesspainful_com.rb
@@ -1,4 +1,5 @@
#!/usr/bin/env ruby -wKU
+require "rubygems"
require 'tempfile'
require 'json'
@@ -17,7 +18,7 @@ def is_json?(str)
archive_path = "#{Tempfile.new("archive").path}.zip"
puts "Creating zip file"
-system ("zip -r -o #{archive_path} features && zip -j #{archive_path} bin/Test.apk")
+system("zip -r -o #{archive_path} features && zip -j #{archive_path} bin/Test.apk")
puts "Uploading apk and features to www.lesspainful.com"
result = `curl -F "secret=#{secret}" -F "app=@#{apk_file}" -F "env=@#{archive_path}" https://www.lesspainful.com/cmd_upload`
Please sign in to comment.
Something went wrong with that request. Please try again.