Sha256: ffe503325eac64e057c3d378ea148334e375a2d912f10a266def175f21157162

Contents?: true

Size: 656 Bytes

Versions: 2

Compression:

Stored size: 656 Bytes

Contents

# -*- ruby -*-

require 'rubygems'
require 'bundler/setup'
require 'rjack-tarpit'

RJack::TarPit.new( 'rjack-jetty' ).define_tasks

file 'webapps/test.war' => [ 'webapps/test/index.html',
                             'webapps/test/WEB-INF/web.xml' ] do
  sh( 'jar cvf webapps/test.war ' +
      '-C webapps/test index.html -C webapps/test WEB-INF/web.xml' )
end

desc "Upload RDOC to Amazon S3 (rdoc.gravitext.com/rjack, Oregon)"
task :publish_rdoc => [ :clean, :rerdoc ] do
  sh <<-SH
    aws s3 sync --acl public-read doc/ s3://rjack.gravitext.com/jetty/
  SH
end

task :rdoc do
  sh <<-SH
    rm -rf doc/fonts
    cp ../rdoc_css/*.css doc/css/
  SH
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rjack-jetty-9.4.20.0-java Rakefile
rjack-jetty-9.4.14.0-java Rakefile