Sha256: 4439ec74436bcae8f4a794c5c7452d9effa31a2d2d69b759c645ee402a9c049c

Contents?: true

Size: 1013 Bytes

Versions: 31

Compression:

Stored size: 1013 Bytes

Contents

# Look in the tasks/setup.rb file for the various options that can be
# configured in this Rakefile. The .rake files in the tasks directory
# are where the options are used.

begin
  require 'bones'
  Bones.setup
rescue LoadError
  load 'tasks/setup.rb'
end

ensure_in_path 'lib'
require 'lockdown'

task :default => 'rcov'

desc "Flog your code for Justice!"
task :flog do
    sh('flog lib/**/*.rb')
end

desc "Run all specs and rcov in a non-sucky way"
Spec::Rake::SpecTask.new(:rcov) do |t|
  t.spec_opts = IO.readlines("spec/spec.opts").map {|l| l.chomp.split " "}.flatten
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.rcov = true
  t.rcov_opts = IO.readlines("spec/rcov.opts").map {|l| l.chomp.split " "}.flatten
end

PROJ.name = 'lockdown'
PROJ.authors = 'Andrew Stone'
PROJ.email = 'andy@stonean.com'
PROJ.url = 'http://stonean.com/wiki/lockdown'
PROJ.version = Lockdown::VERSION
PROJ.rubyforge.name = 'lockdown'

PROJ.spec.opts << '--color'
PROJ.exclude << ".swp"
PROJ.exclude << ".gitignore"

# EOF

Version data entries

31 entries across 31 versions & 4 rubygems

Version Path
andrewzielinski-lockdown-0.9.6 Rakefile
blaxter-lockdown-0.9.8.99 Rakefile
blaxter-lockdown-0.9.9 Rakefile
revo-lockdown-0.9.6 Rakefile
lockdown-1.3.1 Rakefile
lockdown-1.3.0 Rakefile
lockdown-1.2.1 Rakefile
lockdown-1.2.2 Rakefile
lockdown-1.2.0 Rakefile
lockdown-1.1.5 Rakefile
lockdown-1.1.6 Rakefile
lockdown-1.1.3 Rakefile
lockdown-1.0.0 Rakefile
lockdown-1.0.1 Rakefile
lockdown-1.0.2 Rakefile
lockdown-1.0.3 Rakefile
lockdown-1.0.4 Rakefile
lockdown-1.0.5 Rakefile
lockdown-1.0.6 Rakefile
lockdown-1.1.0 Rakefile