Add support for running this as a frankenwar

This commit is contained in:
R. Tyler Croy 2014-08-02 00:25:30 -07:00
parent 5326500714
commit 30f8087836
4 changed files with 11 additions and 4 deletions

View File

@ -7,17 +7,17 @@ GEM
rack-protection (1.5.3)
rack
rake (10.3.2)
rubyzip (1.0.0)
rubyzip (1.1.6)
sinatra (1.4.5)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
tilt (1.4.1)
warbler (1.4.3)
warbler (1.4.4)
jruby-jars (>= 1.5.6, < 2.0)
jruby-rack (>= 1.0.0)
rake (>= 0.9.6)
rubyzip (>= 0.9, < 1.1)
rubyzip (>= 0.9, < 1.2)
PLATFORMS
java

5
Rakefile Normal file
View File

@ -0,0 +1,5 @@
desc 'Say Hello warld!'
task :hello do
puts "Hello there"
end

View File

@ -1,5 +1,5 @@
require 'sinatra'
get '/' do
'OH! Hello .warld'
'OH! Hello .warld #4'
end

View File

@ -5,5 +5,7 @@ Warbler.framework_detection = false
Warbler::Config.new do |config|
config.override_gem_home = false
config.dirs = ['app']
config.includes += FileList['Rakefile']
config.jar_name = 'hellowarld'
config.features = %w(runnable)
end