Sha256: 4d7acc1ced8b6b358ea92e7c522a44c4e6c65ed72c6af34bc6cc045a17405e56
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
# vim: set filetype=ruby et sw=2 ts=2: require 'gem_hadar' GemHadar do name 'mize' author 'Florian Frank' email 'flori@ping.de' homepage "http://flori.github.com/#{name}" summary 'Library that provides memoziation for methods and functions' description "#{summary} for Ruby." readme 'README.md' licenses << 'MIT' test_dir 'spec' ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', 'coverage', '.rvmrc', '.AppleDouble', 'tags', '.byebug_history', '.yard*', 'errors.lst' dependency 'protocol', '~> 2.0' development_dependency 'rake' development_dependency 'simplecov' development_dependency 'rspec' development_dependency 'yard' required_ruby_version '>= 2' end namespace :yard do require 'pathname' yard_dir = Pathname.new('yard') desc 'Create yard documentation' task :create do sh 'yardoc' end desc 'View the yard documentation' task :view do index_file = yard_dir + 'index.html' File.exist?(index_file) sh "open #{index_file}" end desc 'Clean the yard documentation' task :clean do rm_rf yard_dir end end task :yard => %i[ yard:create yard:view ] task :default => :spec
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mize-0.4.0 | Rakefile |