Sha256: f67df197959cf7da680e630765a0c77e1435be0c54d7d38857fdfa4443f2a40c

Contents?: true

Size: 456 Bytes

Versions: 7

Compression:

Stored size: 456 Bytes

Contents

# frozen_string_literal: true

require 'bundler/setup'
Bundler::GemHelper.install_tasks

require 'rake/testtask'
require 'rubocop/rake_task'

Rake::TestTask.new do |t|
  t.libs << 'test'
  t.test_files = FileList['test/**/*_test.rb', 'test/**/test_*.rb']
  t.verbose = true
end

RuboCop::RakeTask.new

task(:utc) { ENV['TZ'] = 'UTC' }

task default: %i[utc test rubocop]

task parse: :utc do
  require 'timezone/parser'

  Timezone::Parser.new.perform
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
timezone-1.3.6 Rakefile
timezone-1.3.5 Rakefile
timezone-1.3.4 Rakefile
timezone-1.3.3 Rakefile
timezone-1.3.2 Rakefile
timezone-1.3.1 Rakefile
timezone-1.3.0 Rakefile