Sha256: c4ce57b93ba66eef53bca58bc68d365b0d70d4c9e81493e0bb3a911871f59f1b

Contents?: true

Size: 310 Bytes

Versions: 1

Compression:

Stored size: 310 Bytes

Contents

install_template_path = File.expand_path('../../template.rb', __dir__).freeze
bin_path = ENV['BUNDLE_BIN'] || './bin'

namespace :jt_tools do
  desc 'Install jt-tools in this application'
  task :install do
    exec "#{RbConfig.ruby} #{bin_path}/rails app:template LOCATION=#{install_template_path}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jt_tools-0.0.2 lib/tasks/install.rake