Sha256: 76317978af957e22b4296fde48f9b1f0d6475b1e6fc5333f7b12e580ec9fac87
Contents?: true
Size: 1.86 KB
Versions: 4
Compression:
Stored size: 1.86 KB
Contents
require 'rubygems' require 'bundler' require 'rake' require 'jeweler' require 'rspec/core' require 'rspec/core/rake_task' require 'rdoc/task' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end Jeweler::Tasks.new do |gem| gem.name = "ninjs" gem.homepage = "http://github.com/daytonn/ninjs" gem.rubyforge_project = "nowarning" gem.license = "MIT" gem.summary = %Q{ninjs is a command line application to help you write clean, modular javascript applications.} gem.description = %Q{Ninjs is a ruby application and small javascript framework that helps you build clean, modular javascript applications. Ninjs encourages "Good Parts" best practices and the Crockford school Module pattern (http://www.crockford.com/). The ninjs command line application is an automatic compiler, written in ruby, and based on the Sprockets library (http://getsprockets.org/).} gem.email = "daytonn@gmail.com" gem.authors = ["Dayton Nolan"] gem.add_runtime_dependency 'fssm' gem.add_runtime_dependency 'jsmin' gem.add_development_dependency 'rspec', '>= 0' end Jeweler::RubygemsDotOrgTasks.new RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = FileList['spec/**/*_spec.rb'] end RSpec::Core::RakeTask.new(:rcov) do |spec| spec.pattern = 'spec/**/*_spec.rb' spec.rcov = true end task :default => :spec RDoc::Task.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "ninjs #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end begin require 'jasmine' load 'jasmine/tasks/jasmine.rake' rescue LoadError task :jasmine do abort "Jasmine is not available. In order to run jasmine, you must: (sudo) gem install jasmine" end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ninjs-0.16.8 | Rakefile |
ninjs-0.16.7 | Rakefile |
ninjs-0.16.6 | Rakefile |
ninjs-0.16.5 | Rakefile |