Preparing for gem and binary.
This commit is contained in:
parent
4029d97348
commit
912fdb4882
|
@ -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
|
||||||
|
|
|
@ -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
|
|
@ -18,4 +18,5 @@ module Qwandry
|
||||||
autoload :Repository, "qwandry/repository"
|
autoload :Repository, "qwandry/repository"
|
||||||
autoload :FlatRepository, "qwandry/flat_repository"
|
autoload :FlatRepository, "qwandry/flat_repository"
|
||||||
autoload :Package, "qwandry/package"
|
autoload :Package, "qwandry/package"
|
||||||
|
|
||||||
end
|
end
|
Loading…
Reference in New Issue