File: Rakefile

package info (click to toggle)
ruby-hmac 0.4.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 132 kB
  • sloc: ruby: 201; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 580 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'rubygems'
require 'hoe'
$:.unshift(File.dirname(__FILE__) + "/lib")
require 'hmac'

Hoe.spec 'ruby-hmac' do
  developer "Daiki Ueno", ""
  developer "Geoffrey Grosenbach", "boss@topfunky.com"
end

Hoe.plugin :minitest
Hoe.plugin :git
Hoe.plugin :gemcutter

desc "Simple require on packaged files to make sure they are all there"
task :verify => :package do
  # An error message will be displayed if files are missing
  if system %(ruby -e "require 'pkg/ruby-hmac-#{HMAC::VERSION}/lib/hmac'")
    puts "\nThe library files are present"
  end
end

task :release => :verify