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

Version Path
shopify-cli-2.36.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.35.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.34.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.33.1 ext/shopify-extensions/extconf.rb
shopify-cli-2.33.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.32.1 ext/shopify-extensions/extconf.rb
shopify-cli-2.32.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.31.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.30.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.29.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.28.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.27.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.26.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.25.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.24.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.23.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.22.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.21.0 ext/shopify-extensions/extconf.rb
shopify-cli-2.20.1 ext/shopify-extensions/extconf.rb
shopify-cli-2.20.0 ext/shopify-extensions/extconf.rb