Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tweaked help text, still not working

  • Loading branch information...
commit 0f363159d3b8ff32549c10ab2dfc53f1f8232a20 1 parent bf44302
@lachie authored
Showing with 16 additions and 7 deletions.
  1. +1 −0  .gitignore
  2. +9 −0 Rakefile
  3. +6 −7 bin/appjour
View
1  .gitignore
@@ -1,2 +1,3 @@
.DS_Store
*.log
+pkg
View
9 Rakefile
@@ -37,6 +37,15 @@ namespace :gem do
f.puts(appjour_gemspec.to_ruby)
end
end
+
+ desc "test spec in github cleanroom"
+ task :test do
+ require 'rubygems/specification'
+ data = File.read('appjour.gemspec')
+ spec = nil
+ Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
+ puts spec
+ end
end
end
View
13 bin/appjour
@@ -1,13 +1,11 @@
#!/usr/bin/env ruby
-$:.unshift File.dirname(__FILE__)+"/../lib"
+# $:.unshift File.dirname(__FILE__)+"/../lib"
+
require "rubygems"
require "appjour"
-# list = ARGV.delete("-l")
-# publish = ARGV.delete("-p")
-# open = ARGV.delete("-o")
help = ARGV.delete("-h")
@@ -25,9 +23,10 @@ end
if help
puts <<-EOH
- appjour -l look for apps
- appjour -p [NAME] open the app called
- appjour -p [NAME] [PORT] publish your app
+ appjour look for apps
+ appjour [NAME] open the app NAME
+ appjour [NAME] [PORT] publish your app as NAME on PORT
+ appjour [PORT] publish your app as $USER on PORT
EOH
elsif name && port
Please sign in to comment.
Something went wrong with that request. Please try again.