Sha256: 21a001513e8bd2af5d9bea2526086fb9ff7f2e0153eb68a07d2d28e689051c92
Contents?: true
Size: 584 Bytes
Versions: 6
Compression:
Stored size: 584 Bytes
Contents
# frozen_string_literal: true require "bundler/gem_tasks" require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) task default: :spec get_gem_file = -> { Dir["pkg/*"].first } desc "test" task :test do sh "gem uninstall stats_lite -a -x" sh "rm #{get_gem_file.call} -f" sh "rake build" sh "gem install #{get_gem_file.call}" end desc "integration" task "integration" do sh "rake test" sh "stats-lite ./integration_test/config.rb" end desc "deploy" task "deploy" do sh "rm #{get_gem_file.call} -f" sh "rake build" sh "gem push #{get_gem_file.call}" end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
stats_lite-0.8.1 | Rakefile |
stats_lite-0.8.0 | Rakefile |
stats_lite-0.7.2 | Rakefile |
stats_lite-0.7.1 | Rakefile |
stats_lite-0.7.0 | Rakefile |
stats_lite-0.6.2 | Rakefile |