Sha256: e45d327ae8f69b5e0e188f46472ca1859ae489e251128fca1af83c7bb9871649
Contents?: true
Size: 392 Bytes
Versions: 5
Compression:
Stored size: 392 Bytes
Contents
# frozen_string_literal: true namespace :figaro_yml do include Capistrano::Ops::FigaroYml::Paths include Capistrano::Ops::FigaroYml::Helpers rake_roles = fetch(:rake_roles, :app) task :get_stage do on roles(rake_roles) do raise 'The file does not exist.' unless test "[ -f #{figaro_yml_remote_path} ]" puts capture "cat #{figaro_yml_remote_path}" end end end
Version data entries
5 entries across 5 versions & 1 rubygems