Sha256: ee20d57b0b8ca6e15aee93e4e19010fbcfdac00f33291b282ac57203b4e1b7c0
Contents?: true
Size: 957 Bytes
Versions: 4
Compression:
Stored size: 957 Bytes
Contents
#!/usr/bin/env ruby # encoding: utf-8 lib = File.expand_path(File.dirname(__FILE__) + '/lib') $: << lib require 'rubygems' require 'rake/clean' require "#{lib}/glyph.rb" task :default => :spec # RSpec begin require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = 'spec/**/*_spec.rb' t.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"] end RSpec::Core::RakeTask.new(:test) do |t| args = ARGV.reverse args.pop t.pattern = args.join " " t.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"] end rescue LoadError puts "RSpec is not available. Install it with: gem install rspec" end # Yard begin require 'yard' YARD::Rake::YardocTask.new(:yardoc) do |t| t.files = ['lib/**/*.rb', './README.textile', 'lib/*.rb'] t.options = ['--no-private'] end rescue LoadError puts "YARD is not available. Install it with: gem install yard" end FileList['tasks/**/*.rake'].each { |t| load t}
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
glyph-0.5.3.1 | Rakefile |
glyph-0.5.2 | Rakefile |
glyph-0.5.1 | Rakefile |
glyph-0.5.0 | Rakefile |