Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 31 lines (25 sloc) 0.777 kb
a54391a @mogest finish implementation of public-key functions, add tests
authored
1 require 'rake/extensiontask'
2 require 'rake/testtask'
3
4 Rake::TestTask.new do |t|
5 t.libs << "test"
6 t.test_files = FileList['test/test*.rb']
7 t.verbose = true
8 end
9
10 spec = Gem::Specification.new do |s|
11 s.name = "nacl"
a41786d @mogest bump version to 0.2, minor doc tweaks
authored
12 s.version = "0.2"
a54391a @mogest finish implementation of public-key functions, add tests
authored
13 s.summary = "Ruby wrapper around djb's NaCl networking and cryptography library"
14 s.author = "Roger Nesbitt"
15 s.email = "roger@seriousorange.com"
16 s.homepage = "http://github.com/mogest/nacl"
17 s.platform = Gem::Platform::RUBY
18 s.files = Dir.glob('lib/**/*.rb') +
19 Dir.glob('ext/**/*.{c,h,rb}')
20 s.extensions = ['ext/nacl/extconf.rb']
21 end
22
23 Gem::PackageTask.new(spec) do |pkg|
24 end
25
26 Rake::ExtensionTask.new('nacl', spec) do |ext|
27 ext.lib_dir = File.join('lib', 'nacl')
28 end
29
30 Rake::Task[:test].prerequisites << :compile
Something went wrong with that request. Please try again.