Sha256: f0d28f88727d98aeb636c4f55c3f86201718a4a109599491c617bcdaad7d076f

Contents?: true

Size: 598 Bytes

Versions: 10

Compression:

Stored size: 598 Bytes

Contents

#!/usr/bin/env ruby --disable=gems

lib_path = File.expand_path("../../lib", __FILE__)
$LOAD_PATH.unshift(lib_path) unless $LOAD_PATH.include?(lib_path)

ENV['SHELLPID'] ||= Process.ppid.to_s
ENV['USER_PWD'] ||= Dir.pwd

# Prune non-absolute paths from PATH to prevent non-deterministic behavior
# i.e. If user has "." or "./bin" in their PATH
# Note that this logic is duplicated in lib/shopify.rb
ENV['PATH'] = ENV['PATH'].split(':').select { |p| p.start_with?('/', '~') }.join(':')

$original_env = ENV.to_hash

require 'shopify_cli'

if ENV['PRINT_LOADED_FEATURES']
  puts $LOADED_FEATURES
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
shopify-cli-1.0.5 bin/load_shopify.rb
shopify-cli-1.0.4 bin/load_shopify.rb
shopify-cli-1.0.3 bin/load_shopify.rb
shopify-cli-1.0.2 bin/load_shopify.rb
shopify-cli-1.0.1 bin/load_shopify.rb
shopify-cli-1.0.0 bin/load_shopify.rb
shopify-cli-0.9.3 bin/load_shopify.rb
shopify-cli-0.9.2 bin/load_shopify.rb
shopify-cli-0.9.1 bin/load_shopify.rb
shopify-cli-0.9.0 bin/load_shopify.rb