Sha256: 33d3188905e07cac6224a68b83137b86f892fe47d60f4f257e95cede77dd1d3a

Contents?: true

Size: 597 Bytes

Versions: 101

Compression:

Stored size: 597 Bytes

Contents

namespace :release do
  desc 'Uplad all packages and tag git'
  task :ALL => [:gems, :push_dll, :push_jar, :push_gems, 'git:release']

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

  task :push_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 :push_jar do
    Dir.chdir('java') do
      sh("mvn deploy")
    end
  end
end

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
gherkin-2.1.4 tasks/release.rake
gherkin-2.1.4-i386-mswin32 tasks/release.rake
gherkin-2.1.4-i386-mingw32 tasks/release.rake
gherkin-2.1.4-universal-dotnet tasks/release.rake
gherkin-2.1.4-java tasks/release.rake
gherkin-2.1.3 tasks/release.rake
gherkin-2.1.3-i386-mswin32 tasks/release.rake
gherkin-2.1.3-i386-mingw32 tasks/release.rake
gherkin-2.1.3-universal-dotnet tasks/release.rake
gherkin-2.1.3-java tasks/release.rake
gherkin-2.1.2 tasks/release.rake
gherkin-2.1.2-i386-mswin32 tasks/release.rake
gherkin-2.1.2-i386-mingw32 tasks/release.rake
gherkin-2.1.2-universal-dotnet tasks/release.rake
gherkin-2.1.2-java tasks/release.rake
gherkin-2.1.1 tasks/release.rake
gherkin-2.1.1-i386-mswin32 tasks/release.rake
gherkin-2.1.1-i386-mingw32 tasks/release.rake
gherkin-2.1.1-universal-dotnet tasks/release.rake
gherkin-2.1.1-java tasks/release.rake