Sha256: 80facafb8a4f9eb337e99ecec3782eaedddb04c066450c366b994175e617c98a

Contents?: true

Size: 1.33 KB

Versions: 10

Compression:

Stored size: 1.33 KB

Contents

# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)
require 'rake'

FileShare::Application.load_tasks

excluded_files = %w(config/database.yml public/files)

Engineer::Tasks.new do |gem|
  gem.name = "file_share"
  gem.summary = %Q{Provides basic file management features.}
  gem.description = %Q{Simple versioned event management for Rails 3.}
  gem.email = ["jason.lapier@gmail.com", "jeremiah@inertialbit.net"]
  gem.homepage = "http://github.com/inertialbit/file_share"
  gem.authors = ["Jason LaPier", "Jeremiah Heller"]
  gem.require_path = 'lib'
  gem.files =  FileList[
    "[A-Z]*",
    "{app,config,lib,public,spec,test}/**/*",
    "db/**/*.rb"
  ]
  excluded_files.each{|f| gem.files.exclude(f)}
  
  # Include Bundler dependencies
  Bundler.definition.dependencies.each do |dependency|
    next if dependency.name == "engineer"

    if (dependency.groups & [:default, :production]).any?
      gem.add_dependency dependency.name, *dependency.requirement.as_list
    else
      gem.add_development_dependency dependency.name, *dependency.requirement.as_list
    end
  end

  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
file_share-0.1.9 Rakefile
file_share-0.1.8 Rakefile
file_share-0.1.7 Rakefile
file_share-0.1.6 Rakefile
file_share-0.1.5 Rakefile
file_share-0.1.4 Rakefile
file_share-0.1.3 Rakefile
file_share-0.1.2 Rakefile
file_share-0.1.1 Rakefile
file_share-0.1.0 Rakefile