Skip to content

Commit

Permalink
create our own extension task and copy the so to the right directory
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Aug 7, 2012
1 parent 687795a commit 6b817c4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Rakefile
Expand Up @@ -2,11 +2,16 @@

require 'rubygems'
require 'hoe'
require "rake/extensiontask"

Hoe.plugin :compiler
Hoe.plugin :minitest

Hoe.spec 'lost' do
developer('Evan Phoenix', 'evan@phx.io')

Rake::ExtensionTask.new "lost", spec do |ext|
ext.lib_dir = 'lib'
end
end

# vim: syntax=ruby
7 changes: 7 additions & 0 deletions test/test_lost.rb
@@ -0,0 +1,7 @@
require 'minitest/autorun'

class TestLost < MiniTest::Unit::TestCase
def test_require_works
require 'lost'
end
end

0 comments on commit 6b817c4

Please sign in to comment.