Sha256: 836fe4f365632ce606de699554cf037c1ded8751c1d4f063ba890f10e6250a2f
Contents?: true
Size: 514 Bytes
Versions: 3
Compression:
Stored size: 514 Bytes
Contents
# Gemspec load 'open-weather-api.gemspec' # Dependencies require 'open-weather-api' require 'fileutils' # Build built_gem_file = "open-weather-api-#{OpenWeatherAPI::VERSION}.gem" task :build do # Build the gem sh 'gem build open-weather-api.gemspec' # Move it to /build FileUtils.mv "#{built_gem_file}", "build/#{built_gem_file}", force: true end task publish: [:build] do sh "gem push build/#{built_gem_file}" end # Test task :test do sh 'bundle exec rspec spec' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
open-weather-api-0.0.6 | rakefile |
open-weather-api-0.0.5 | rakefile |
open-weather-api-0.0.4 | rakefile |