Preparing for gem and binary.

This commit is contained in:
Adam Sanderson 2010-08-17 22:30:57 -07:00
parent 4029d97348
commit 912fdb4882
4 changed files with 43 additions and 1 deletions

8
README Normal file
View File

@ -0,0 +1,8 @@
Qwandry, a questionable tool
=============================
Why spend time trying to remember where libraries, projects, and packages are lurking,
when your computer already knows?
qw activerecord # open the activerecord gem
qw matrix # open the ruby standard library matrix file

33
Rakefile Normal file
View File

@ -0,0 +1,33 @@
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "qwandry"
s.summary = "Qwandry lets you quickly edit ruby gems and libraries"
s.description = <<-DESC
Open a gem or library's source directory with your default editor.
DESC
s.email = "netghost@gmail.com"
s.homepage = "http://github.com/adamsanderson/qwandry"
s.authors = ["Adam Sanderson"]
s.has_rdoc = false
s.files = FileList["[A-Z]*", "{bin,lib,test}/**/*"]
# Testing
s.test_files = FileList["test/**/*_test.rb"]
end
rescue LoadError
puts "Jeweler not available. Install it for jeweler-related tasks with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
Rake::TestTask.new do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end
task :default => :test

View File

@ -1 +1 @@
0.0.0
0.0.1

View File

@ -18,4 +18,5 @@ module Qwandry
autoload :Repository, "qwandry/repository"
autoload :FlatRepository, "qwandry/flat_repository"
autoload :Package, "qwandry/package"
end