Skip to content
Browse files

Revamped Rakefile

  • Loading branch information...
1 parent 0802736 commit 7e9e6d11360a247895ff81878bfdabd55bf7f2a4 @eskatos committed Mar 19, 2011
Showing with 9 additions and 30 deletions.
  1. +7 −24 Rakefile
  2. +2 −6 nbproject/project.properties
View
31 Rakefile
@@ -2,19 +2,18 @@ require 'rubygems'
require 'rake'
require 'rake/clean'
require 'rake/gempackagetask'
-require 'rake/packagetask'
require 'rake/rdoctask'
require 'rake/testtask'
-require 'spec/rake/spectask'
spec = Gem::Specification.new do |s|
s.name = 'rwallet'
- s.version = '1.1.0-alpha1'
- s.has_rdoc = true
+ s.version = '1.1alpha1'
+ s.has_rdoc = false
s.extra_rdoc_files = ['README', 'LICENSE']
s.summary = 'Command line password wallet written in ruby'
- s.description = s.summary
- s.author = 'Paul MERLIN'
+ s.homepage = 'https://github.com/eskatos/rwallet'
+ s.description = 'Command line password wallet written in ruby meant to be used in shell scripts'
+ s.author = 'Paul Merlin'
s.email = 'paul@nosphere.org'
s.executables = ['rwallet']
s.default_executable = 'rwallet'
@@ -34,30 +33,14 @@ Rake::RDocTask.new do |rdoc|
files =['README', 'LICENSE', 'lib/**/*.rb']
rdoc.rdoc_files.add(files)
rdoc.main = "README" # page to start on
- rdoc.title = "rwallet Docs"
+ rdoc.title = "rwallet"
rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder
rdoc.options << '--line-numbers'
- rdoc.options << '--diagram'
end
Rake::TestTask.new do |t|
t.test_files = FileList['test/**/*.rb']
end
-Spec::Rake::SpecTask.new do |t|
- t.spec_files = FileList['spec/**/*.rb']
-end
-
-Rake::PackageTask.new('rwallet','0.0.1') do |p|
-# p.need_tar_gz = true
-# p.need_zip = true
-# p.need_tar_bz2 = false
-# p.need_tar = false
- p.package_files.include(%w(LICENSE README setup.rb) + Dir.glob("{bin,lib}/**/*"))
-end
-
-
-
CLEAN.include('pkg')
-CLEAN.include('doc')
-
+CLEAN.include('doc')
View
8 nbproject/project.properties
@@ -1,9 +1,5 @@
-auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.tab-size=8
-auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width=80
-auxiliary.org-netbeans-modules-editor-indent.CodeStyle.usedProfile=default
-javac.classpath=
-main.file=main.rb
-platform.active=default
+main.file=rwallet.rb
+platform.active=Ruby_0
source.encoding=UTF-8
spec.src.dir=spec
src.dir=lib

0 comments on commit 7e9e6d1

Please sign in to comment.
Something went wrong with that request. Please try again.