Sha256: 418a2bda74163a8106858ae95392876338d9527bb0c49ee0a16ceb72866bad26

Contents?: true

Size: 1.31 KB

Versions: 3

Compression:

Stored size: 1.31 KB

Contents

require 'rubygems'
require 'rake/gempackagetask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = 'distil'
    gemspec.authors= ["Jeff Watkins"]
    gemspec.summary= "A build tool for Javascript and CSS that takes advantage of best-of-breed helper applications Javascript Lint and JSDoc Toolkit"
    gemspec.homepage= "http://github.com/jeffwatkins/distil"
    gemspec.description= gemspec.summary
    gemspec.files= Dir['assets/*', 'lib/**/*', 'bin/*', '[A-Za-z]*', 'vendor/**/*']
    gemspec.files.reject! { |f| File.directory?(f) }
    gemspec.executables= ['distil', 'jsl']
    gemspec.extensions= ['vendor/extconf.rb']
    gemspec.add_dependency('json', '>= 1.4.3')
    gemspec.add_dependency('rubyzip', '>=0.9.4')
    gemspec.add_dependency('treetop', '>=1.4.8')
    gemspec.add_dependency('directory_watcher', [">= 1.1.1"])
  end

  Jeweler::GemcutterTasks.new

  task :push => "gemcutter:release"

rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install jeweler"
end

namespace :git do
  namespace :submodules do
    desc "Initialize git submodules"
    task :init do
      system "git submodule init"
      system "git submodule update"
    end
  end
end

task :"gemspec:generate" => :"git:submodules:init"

task :default => [ :build ] do
    puts "generated latest version"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
distil-0.14.0.i Rakefile
distil-0.14.0.h Rakefile
distil-0.14.0.g Rakefile