Sha256: 3411884bd91dbd605d7c40fdb53291e9c2a391705cd37bc80e2709024f32378c
Contents?: true
Size: 409 Bytes
Versions: 2
Compression:
Stored size: 409 Bytes
Contents
desc 'Run schema processing' task :remont, [:script_path] => :remont_env do |_, args| script_path = args[:script_path] abort 'Missing script path' unless script_path path = Rails.root.join(script_path) Remont::Script.new(path).run! end task :remont_env do # rubocop:disable Rails/RakeEnvironment Rake::Task['environment'].invoke rescue StandardError # rubocop:disable Lint/SuppressedException end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
remont-0.1.2 | lib/remont/tasks/remont.rake |
remont-0.1.1 | lib/remont/tasks/remont.rake |