Sha256: 6300faf92b4a7674210e2cd291ef4739c436397635136af63bb2854374c75583

Contents?: true

Size: 571 Bytes

Versions: 40

Compression:

Stored size: 571 Bytes

Contents

namespace :release do
  desc 'Uplad all packages and tag git'
  task :ALL => [:_gems, :dll, :jar, 'git:release']

  task :_gems => :gems do
    Dir.chdir('release') do
      Dir['*.gem'].each do |gem_file|
        sh("gem push #{gem_file}")
      end
    end
  end

  task :dll => :ikvm do
    Dir.chdir('release') do
      # This requires aslakhellesoy's build of the github gem,
      # which has tekkub's upload command.
      sh("github upload #{Dir['gherkin*.dll'][0]}")
    end
  end

  task :jar do
    Dir.chdir('java') do
      sh("mvn deploy")
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
gherkin-1.0.15 tasks/release.rake
gherkin-1.0.15-i386-mswin32 tasks/release.rake
gherkin-1.0.15-i386-mingw32 tasks/release.rake
gherkin-1.0.15-java tasks/release.rake
gherkin-1.0.14 tasks/release.rake
gherkin-1.0.14-i386-mswin32 tasks/release.rake
gherkin-1.0.14-i386-mingw32 tasks/release.rake
gherkin-1.0.14-java tasks/release.rake
gherkin-1.0.13 tasks/release.rake
gherkin-1.0.13-i386-mswin32 tasks/release.rake
gherkin-1.0.13-i386-mingw32 tasks/release.rake
gherkin-1.0.13-java tasks/release.rake
gherkin-1.0.12 tasks/release.rake
gherkin-1.0.12-i386-mswin32 tasks/release.rake
gherkin-1.0.12-i386-mingw32 tasks/release.rake
gherkin-1.0.12-java tasks/release.rake
gherkin-1.0.11 tasks/release.rake
gherkin-1.0.11-i386-mswin32 tasks/release.rake
gherkin-1.0.11-i386-mingw32 tasks/release.rake
gherkin-1.0.11-java tasks/release.rake