Sha256: 78f67b80a66ccf246c73d6cfa22a445a0b991973946d553b7cf177b3bb82440c
Contents?: true
Size: 600 Bytes
Versions: 4
Compression:
Stored size: 600 Bytes
Contents
# frozen_string_literal: true require "bundler/gem_tasks" begin require "rspec/core/rake_task" require "rubocop/rake_task" RSpec::Core::RakeTask.new(:spec) RuboCop::RakeTask.new rescue LoadError => exception puts "Library not available: #{exception.message}" end desc "Build, lint, and test" task :build_and_test do Rake::Task["lint"].invoke Rake::Task["test"].invoke Rake::Task["build"].invoke unless ENV["CI"] end desc "Lint" task lint: :rubocop desc "Test" task test: :spec desc "Build" task :build do system("gem build demopass.gemspec") end task default: :build_and_test
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
demopass-0.2.2 | Rakefile |
demopass-0.2.1 | Rakefile |
demopass-0.2.0 | Rakefile |
demopass-0.1.0 | Rakefile |