Sha256: 06e06bae1381754573bb0254defe9170f025411cc74e4de807fe82c95eb87d62
Contents?: true
Size: 814 Bytes
Versions: 2
Compression:
Stored size: 814 Bytes
Contents
# Copyright (C) 2008-2012 AMEE UK Ltd. - http://www.amee.com # Released as Open Source Software under the BSD 3-Clause license. See LICENSE.txt for details. namespace :amee do namespace :calculations do # Performs application setup desc 'Regenerates a lock file for a specified calculations config file. Run as: rake "amee:calculations:lock[<file>]"' task :lock, [:file] => [:environment] do |t, args| AMEE::DataAbstraction::CalculationSet.regenerate_lock_file(args[:file]) end # Performs application setup desc 'Regenerates all locks files. Run as: rake "amee:calculations:lock_all"' task :lock_all => [:environment] do |t, args| $sheet_types.each_key do |key| AMEE::DataAbstraction::CalculationSet.regenerate_lock_file(key.to_s) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
amee-data-abstraction-2.3.1 | lib/tasks/amee_data_abstraction.rake |
amee-data-abstraction-2.3.0 | lib/tasks/amee_data_abstraction.rake |