Sha256: 792868e63d62af6d6c969ab8a7029f95262b39018158dd3a8f7ef4e18063f43f
Contents?: true
Size: 448 Bytes
Versions: 5
Compression:
Stored size: 448 Bytes
Contents
namespace :tools do task :composer do bin_file = File.join(Hobo.project_bin_path, "composer.phar") unless File.exists?(bin_file) Hobo.ui.success "Getting composer.phar" FileUtils.mkdir_p File.dirname(bin_file) Dir.chdir File.dirname(bin_file) do shell "php", "-r", "eval('?>'.file_get_contents('https://getcomposer.org/installer'));", realtime: true, indent: 2 end Hobo.ui.separator end end end
Version data entries
5 entries across 5 versions & 1 rubygems