Sha256: 546d860618f97a08d6dfbb1175a90175ecf9b31e91ebc8436b9860021e60cd9c
Contents?: true
Size: 590 Bytes
Versions: 2
Compression:
Stored size: 590 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 "cd integration_test && stats-lite ./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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stats_lite-0.6.1 | Rakefile |
stats_lite-0.6.0 | Rakefile |