Sha256: dd5cee65b11a32b0e07d202bed1080837a7a5692b975225087707438c538da19
Contents?: true
Size: 1.25 KB
Versions: 4
Compression:
Stored size: 1.25 KB
Contents
require 'rubygems' unless ENV['NO_RUBYGEMS'] %w[rake rake/clean fileutils newgem rubigen].each { |f| require f } require File.dirname(__FILE__) + '/lib/alsa_backup' # Generate all the Rake tasks # Run 'rake -T' to see list of generated tasks (from gem root directory) $hoe = Hoe.new('alsa-backup', AlsaBackup::VERSION) do |p| p.developer('Alban Peignier', 'alban.peignier@free.fr') p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n") p.rubyforge_name = p.name # TODO this is default value p.extra_deps = [ ['ffi','>= 0.3.5'], [ 'newgem', ">= #{::Newgem::VERSION}" ], [ 'daemons', '>= 1.0.10' ] ] p.extra_dev_deps = [ ['newgem', ">= #{::Newgem::VERSION}"] ] p.clean_globs |= %w[**/.DS_Store tmp *.log] path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}" p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc') p.rsync_args = '-av --delete --ignore-errors' end require 'newgem/tasks' # load /tasks/*.rake Dir['tasks/**/*.rake'].each { |t| load t } task :default => :spec namespace :gems do task :install do gems = %w{activesupport ffi rspec daemons} sh "sudo gem install #{gems.join(' ')}" end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
albanpeignier-alsa-backup-0.0.4 | Rakefile |
albanpeignier-alsa-backup-0.0.5 | Rakefile |
albanpeignier-alsa-backup-0.0.6 | Rakefile |
albanpeignier-alsa-backup-0.0.7 | Rakefile |