Skip to content

Commit

Permalink
use bundler & a gemspec instead of hoe
Browse files Browse the repository at this point in the history
  • Loading branch information
baroquebobcat committed Nov 20, 2011
1 parent 0c64b91 commit 56eab26
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pkg/
test/garrett
*.swp
Gemfile.lock
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source :gemcutter

gemspec

gem 'rake'
gem "mirah", :git => 'https://github.com/mirah/mirah.git'
13 changes: 2 additions & 11 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
# -*- ruby -*-

require 'rubygems'
require 'hoe'

Hoe.spec 'pindah' do |h|
developer('Phil Hagelberg', '[email protected]')
h.url = "http://github.com/mirah/pindah"
h.readme_file = "README.md"
h.summary = "A tool for writing Android applications in Mirah"
extra_deps << ["mirah", ">= 0.0.10"]
end

# vim: syntax=ruby
require 'bundler/setup'
require 'rake/testtask'

Rake::TestTask.new do |t|
t.libs << "test"
Expand Down
20 changes: 20 additions & 0 deletions pindah.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{pindah}
s.version = "0.1.3.dev"
s.date = Time.now.strftime("%Y-%m-%d")
s.authors = [%q{Phil Hagelberg}]
s.email = [%q{[email protected]}]
s.summary = %q{A tool for writing Android applications in Mirah}
s.description = %q{}
s.homepage = %q{http://github.com/mirah/pindah}
s.executables = ["pindah"]
s.extra_rdoc_files = %w{History.txt Manifest.txt}
s.files = File.readlines("Manifest.txt")
s.rdoc_options = ["--main", "README.md"]
s.require_paths = ["lib"]
s.rubygems_version = "1.3.5"

s.add_runtime_dependency("mirah", ">= 0.0.10.dev")
end

0 comments on commit 56eab26

Please sign in to comment.