Skip to content

Commit

Permalink
Add pre-compiled war file
Browse files Browse the repository at this point in the history
  • Loading branch information
lfarrell committed Jan 4, 2021
1 parent 9d46b22 commit 6b887bf
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 10 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ gem 'schematronium', '~> 0.1.0'
gem 'ffi'
gem 'saxon-xslt'
gem 'nokogiri'
gem 'warbler' # Compiles code to a WAR file
29 changes: 20 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ GEM
sshkit (~> 1.2)
coderay (1.1.3)
concurrent-ruby (1.1.7)
ffi (1.13.1-java)
haml (5.2.0)
ffi (1.14.2-java)
haml (5.2.1)
temple (>= 0.8.0)
tilt
i18n (1.8.5)
i18n (1.8.7)
concurrent-ruby (~> 1.0)
jruby-jars (9.2.14.0)
jruby-rack (1.1.21)
kramdown (2.3.0)
rexml
method_source (1.0.0)
Expand All @@ -31,21 +33,24 @@ GEM
net-ssh (>= 2.6.5, < 7.0.0)
net-ssh (6.1.0)
nio4r (2.5.4-java)
nokogiri (1.10.10-java)
nokogiri (1.11.0-java)
racc (~> 1.4)
pry (0.13.1-java)
coderay (~> 1.1)
method_source (~> 1.0)
spoon (~> 0.0)
puma (5.0.4-java)
puma (5.1.1-java)
nio4r (~> 2.0)
racc (1.5.2-java)
rack (2.2.3)
rack-protection (2.1.0)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rake (13.0.1)
rake (13.0.3)
rexml (3.2.4)
ruby2_keywords (0.0.2)
rubyzip (1.3.0)
saxon-xslt (0.8.2.2-java)
schematronium (0.1.4-java)
nokogiri (~> 1.6)
Expand All @@ -59,15 +64,20 @@ GEM
sinatra (>= 1.4)
spoon (0.0.6)
ffi
sshkit (1.21.0)
sshkit (1.21.1)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
temple (0.8.2)
therubyrhino (2.1.2)
therubyrhino_jar (>= 1.7.4, < 1.7.9)
therubyrhino_jar (1.7.8)
tilt (2.0.10)
yard (0.9.25)
warbler (2.0.5)
jruby-jars (>= 9.0.0.0)
jruby-rack (>= 1.1.1, < 1.3)
rake (>= 10.1.0)
rubyzip (~> 1.0, < 1.4)
yard (0.9.26)
yard-sinatra (1.0.0)
yard (~> 0.7)

Expand All @@ -92,8 +102,9 @@ DEPENDENCIES
sinatra
sinatra-partial
therubyrhino
warbler
yard
yard-sinatra

BUNDLED WITH
2.1.4
2.2.0
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require './config/environment'
Bundler.require(:test)

# Need to comment out the rake/testtask block to build war file
require 'rake/testtask'

Rake::TestTask.new do |t|
Expand Down
3 changes: 2 additions & 1 deletion config/environment.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Bundler.require(:default, :assets)
require 'bundler'
require 'csv'
require 'yaml'
Bundler.require(:default, :assets)

if ENV['RACK_ENV'] == 'development'
Bundler.require(:development)
Expand Down

0 comments on commit 6b887bf

Please sign in to comment.