Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

create our own extension task and copy the so to the right directory

  • Loading branch information...
commit 6b817c4faa9c81f2f28e2ec60af9533e28785c79 1 parent 687795a
@tenderlove tenderlove authored
Showing with 13 additions and 1 deletion.
  1. +6 −1 Rakefile
  2. +7 −0 test/test_lost.rb
View
7 Rakefile
@@ -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
View
7 test/test_lost.rb
@@ -0,0 +1,7 @@
+require 'minitest/autorun'
+
+class TestLost < MiniTest::Unit::TestCase
+ def test_require_works
+ require 'lost'
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.