Sha256: 218c61cd3a410c3269b29c921c3adb202321cbc10b81624ae6827f92632f6836

Contents?: true

Size: 659 Bytes

Versions: 32

Compression:

Stored size: 659 Bytes

Contents

# Expose all rake tasks in vault-tools
#
# include in Rakefile via:
#
# require 'vault-tools/tasks'
require 'vault-tools/core_db_tasks'
require 'vault-tools/vault_db_tasks'
require 'vault-tools/usage_db_tasks'
require 'vault-tools/analytics_db_tasks'
require 'vault-tools/doc_tasks'

desc "Run all pull schema tasks (all tasks that match pull_.*_schema)"
task :pull_schemas do
  Rake::Task.tasks.select { |task| task.name =~ /pull_.*_schema/ }.each do |task|
    puts "Invoking #{task.name}..."
    task.invoke
  end
end

desc "Run the database migrations against DATABASE_URL"
task :migrate do
  sh 'bundle exec sequel -E -m db/migrations $DATABASE_URL'
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
vault-tools-2.1.1 lib/vault-tools/tasks.rb
vault-tools-2.1.0 lib/vault-tools/tasks.rb
vault-tools-2.0.2 lib/vault-tools/tasks.rb
vault-tools-2.0.1 lib/vault-tools/tasks.rb
vault-tools-2.0.0 lib/vault-tools/tasks.rb
vault-tools-1.0.1 lib/vault-tools/tasks.rb
vault-tools-1.0.0 lib/vault-tools/tasks.rb
vault-tools-0.7.1 lib/vault-tools/tasks.rb
vault-tools-0.7.0 lib/vault-tools/tasks.rb
vault-tools-0.6.5 lib/vault-tools/tasks.rb
vault-tools-0.6.4 lib/vault-tools/tasks.rb
vault-tools-0.6.3 lib/vault-tools/tasks.rb
vault-tools-0.6.2 lib/vault-tools/tasks.rb
vault-tools-0.6.1 lib/vault-tools/tasks.rb
vault-tools-0.6.0 lib/vault-tools/tasks.rb
vault-tools-0.5.22 lib/vault-tools/tasks.rb
vault-tools-0.5.21 lib/vault-tools/tasks.rb
vault-tools-0.5.19 lib/vault-tools/tasks.rb
vault-tools-0.5.18 lib/vault-tools/tasks.rb
vault-tools-0.5.17 lib/vault-tools/tasks.rb