Sha256: d6214a58803ee7c2d4a9e116dbd49563ba67abc3a15cbee605f70ca68719ede0

Contents?: true

Size: 409 Bytes

Versions: 4

Compression:

Stored size: 409 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "rubocop/rake_task"

RSpec::Core::RakeTask.new(:spec)
RuboCop::RakeTask.new

desc 'Generate a migration timestamp'
task :timestamp do
  puts 'The below migration timestamp should be placed in the "lib/dsu/migration/version.rb" file.'
  puts Time.now.strftime('%Y%m%d%H%M%S')
end

task default: %i[spec rubocop]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dsu-3.0.5 Rakefile
dsu-3.0.4 Rakefile
dsu-3.0.3 Rakefile
dsu-3.0.1 Rakefile