Sha256: 61396cb3a2dc52741efc78d6d5e45b60b48f0de9209e6185164fdfab9c66270c
Contents?: true
Size: 521 Bytes
Versions: 58
Compression:
Stored size: 521 Bytes
Contents
require_relative "./shopify_extensions" installation_dir = ENV.fetch("SHOPIFY_CLI_EXTENSIONS_INSTALLATION_DIR", __dir__) File.write(File.expand_path("Makefile", installation_dir), <<~MAKEFILE) .PHONY: clean clean: ; install: ; MAKEFILE begin ShopifyExtensions.install( target: File.expand_path("shopify-extensions", installation_dir) ) rescue ShopifyExtensions::InstallationError => error STDERR.puts(error.message) rescue => error STDERR.puts("Unable to install shopify-extensions: #{error}") end
Version data entries
58 entries across 58 versions & 1 rubygems