Skip to content

Commit

Permalink
Added Rakefile and gemspec file
Browse files Browse the repository at this point in the history
  • Loading branch information
dagbrown authored and Dave Brown committed Oct 3, 2007
1 parent 10445fe commit 9096c6f
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
task :default => :gem

task :gem do
system("gem build livejournaller.gemspec")
end
35 changes: 35 additions & 0 deletions livejournaller.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
require 'rubygems'

spec = Gem::Specification.new do |s|

# Basic information.
s.name = 'livejournaller'
s.version = File.open("VERSION").read.strip
s.summary = <<-EOF
A LiveJournal access library.
EOF
s.description = <<-EOF
This is a library to access the LiveJournal API from Ruby, and a
script or two to let you write and submit LiveJournal entries from
the command line.
EOF
s.author = "Dave Brown"
s.email = "[email protected]"
# s.homepage = "http://www.rubyforge.org/projects/gurgitate-mail/"
# s.rubyforge_project = "gurgitate-mail"

s.files = Dir.glob("lib/*.rb").delete_if { |item| item.include?("CVS") }
s.files += Dir.glob("bin/*")

# Load-time details: library and application
s.require_path = 'lib' # Use these for libraries.
s.autorequire = 'livejournaller'

s.bindir = "bin" # Use these for applications.
s.executables = %w{ljpost ljsend}
s.default_executable = "ljpost"

# Documentation and testing.
# s.has_rdoc = true
# s.test_suite_file = "test.rb"
end

0 comments on commit 9096c6f

Please sign in to comment.