Sha256: 1847879aa6566001b5f37d5e328f621d7ff60ec47e36230f0a01554e17acc017

Contents?: true

Size: 939 Bytes

Versions: 40

Compression:

Stored size: 939 Bytes

Contents

require 'rubygems'
require 'bundler'
require 'rake'


require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.test_files = FileList['test/test*.rb']
  test.verbose = true
end

task :default => :test


require 'yard'
YARD::Rake::YardocTask.new do |t|
  t.files = %w[ --readme Readme.md lib/**/*.rb - VERSION ]
end


require 'rubygems/tasks'
Gem::Tasks.new({
  push: false,
  sign: {}
}) do |tasks|
  tasks.console.command = 'pry'
end
Gem::Tasks::Sign::Checksum.new sha2: true


require 'rake/version_task'
Rake::VersionTask.new


desc "Upload build artifacts to WOPR"
task :upload => :build do
  pkg_name = 'franz-%s.gem' % File.read('VERSION').strip
  pkg_path = File.join 'pkg', pkg_name

  require 'net/ftp'
  ftp = Net::FTP.new
  ftp.connect '10.4.4.15', 8080
  ftp.login
  ftp.passive
  begin
    ftp.put pkg_path
    ftp.sendcmd("SITE CHMOD 0664 #{pkg_name}")
  ensure
    ftp.close
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
franz-1.6.3 Rakefile
franz-1.6.2 Rakefile
franz-1.6.1 Rakefile
franz-1.6.0 Rakefile
franz-1.5.9 Rakefile
franz-1.5.8 Rakefile
franz-1.5.7 Rakefile
franz-1.5.6 Rakefile
franz-1.5.14 Rakefile
franz-1.5.13 Rakefile
franz-1.5.12 Rakefile
franz-1.5.11 Rakefile
franz-1.5.10 Rakefile
franz-1.4.31 Rakefile
franz-1.5.5 Rakefile
franz-1.5.4 Rakefile
franz-1.5.3 Rakefile
franz-1.5.2 Rakefile
franz-1.5.1 Rakefile
franz-1.5.0 Rakefile