Sha256: 3b3c9a71abe033323ca028ad83af90962a20163b0dee3db0e9ee100b4e7d0f7e

Contents?: true

Size: 397 Bytes

Versions: 15

Compression:

Stored size: 397 Bytes

Contents

namespace :muck do
  namespace :sync do
    desc "Sync required files from muck auth."
    task :auth do
      path = File.join(File.dirname(__FILE__), *%w[.. ..])
      system "rsync -ruv #{path}/db ."
      #system "rsync -ruv #{path}/public ."
      if !File.exists?('./config/secrets.yml')
        system "rsync -ruv #{path}/config/secrets.yml ./config/secrets.yml"
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
muck-auth-3.5.4 lib/tasks/muck_auth.rake
muck-auth-3.5.3 lib/tasks/muck_auth.rake
muck-auth-3.5.2 lib/tasks/muck_auth.rake
muck-auth-3.5.1 lib/tasks/muck_auth.rake
muck-auth-3.5.0 lib/tasks/muck_auth.rake
muck-auth-3.4.0 lib/tasks/muck_auth.rake
muck-auth-3.3.3 lib/tasks/muck_auth.rake
muck-auth-3.3.2 lib/tasks/muck_auth.rake
muck-auth-3.3.1 lib/tasks/muck_auth.rake
muck-auth-3.3.0 lib/tasks/muck_auth.rake
muck-auth-3.2.3 lib/tasks/muck_auth.rake
muck-auth-3.2.2 lib/tasks/muck_auth.rake
muck-auth-3.2.1 lib/tasks/muck_auth.rake
muck-auth-3.2.0 lib/tasks/muck_auth.rake
muck-auth-3.1.0 lib/tasks/muck_auth.rake