Sha256: 806e1ff7164faf03457814b80106ef4172cd164b76e1fc752eba9a13aa382392
Contents?: true
Size: 990 Bytes
Versions: 3
Compression:
Stored size: 990 Bytes
Contents
require "bundler/gem_tasks" begin require "rspec/core/rake_task" RSpec::Core::RakeTask.new do |t| t.pattern = "spec/**/*_spec.rb" end rescue LoadError desc "rspec is not installed, this task is disabled" task :spec do abort "rspec is not installed. bundle install first to make sure all dependencies are installed." end end begin require "chefstyle" require "rubocop/rake_task" desc "Run Chefstyle tests" RuboCop::RakeTask.new(:style) do |task| task.options += ["--display-cop-names", "--no-color"] end rescue LoadError puts "chefstyle gem is not installed. bundle install first to make sure all dependencies are installed." end begin require "yard" YARD::Rake::YardocTask.new(:docs) rescue LoadError puts "yard is not available. bundle install first to make sure all dependencies are installed." end task :console do require "irb" require "irb/completion" require "appbundler" ARGV.clear IRB.start end task default: [:spec, :style]
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
appbundler-0.13.4 | Rakefile |
appbundler-0.13.2 | Rakefile |
appbundler-0.13.1 | Rakefile |