Sha256: 8d6f3b1240ab5b4842f7289ebd715260bbad48e632cded208490de2e1f5f729d

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

# 
# To change this template, choose Tools | Templates
# and open the template in the editor.
 

require 'rubygems'
require 'rake'
require 'rake/clean'
require 'rake/gempackagetask'
require 'rake/rdoctask'
require 'rake/testtask'

spec = Gem::Specification.new do |s|
  s.name = 'lpmp'
  s.version = '1.0.0'
  s.has_rdoc = true
  s.extra_rdoc_files = ['README', 'LICENSE']
  s.summary = 'Linux Proc Monitor Portal'
  s.description = s.summary
  s.author = 'Charles Cui'
  s.email = 'zheng.cuizh@gmail.com'
  s.executables = ['lpmp']
  s.files = %w(LICENSE README Rakefile) + Dir.glob("{bin,config,lib,spec,erb,log,public,test}/**/*")
  s.require_path = "lib"
  s.bindir = "bin"
end

Rake::GemPackageTask.new(spec) do |p|
  p.gem_spec = spec
  p.need_tar = true
  p.need_zip = true
end

Rake::RDocTask.new do |rdoc|
  files =['README', 'LICENSE', 'lib/**/*.rb']
  rdoc.rdoc_files.add(files)
  rdoc.main = "README" # page to start on
  rdoc.title = "lpmp Docs"
  rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder
  rdoc.options << '--line-numbers'
end

Rake::TestTask.new do |t|
  t.test_files = FileList['test/**/*.rb']
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lpmp-1.0.0 Rakefile