Sha256: be8b367f3fa866352751b7d6008c9d3305c15ceeddf34e5fb706900362061683
Contents?: true
Size: 517 Bytes
Versions: 3
Compression:
Stored size: 517 Bytes
Contents
require "bundler/gem_tasks" task :server do sh "jruby -S rackup -Ilib -s mizuno -p 9595" end task :build_examples do sh "mkdir -p public/examples" Dir.chdir('examples') do Dir.glob('*') do |example_name| next unless File.directory?(example_name) puts example_name Dir.chdir(example_name) do sh "zip ../../public/examples/#{example_name}.zip *" output = `./convert.sh #{args[:api_key]}`.strip sh "mv #{output} ../../public/examples" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
docverter-server-1.0.3-java | Rakefile |
docverter-server-1.0.2-java | Rakefile |
docverter-server-1.0.1-java | Rakefile |