Sha256: 6729f594dc8e8816975deff4ed5f0eb6a6e5e879854f2a71961b7134473f7ab3
Contents?: true
Size: 864 Bytes
Versions: 8
Compression:
Stored size: 864 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true STDOUT.sync = true $LOAD_PATH.unshift File.expand_path("../../bridgetown/lib", __dir__) # Used by commands/automations require "active_support" require "active_support/core_ext/array/extract_options" require "active_support/core_ext/string/strip" require "active_support/core_ext/string/indent" require "bridgetown" Bridgetown::PluginManager.require_from_bundler # Support NO_COLOR: https://no-color.org # TODO: need to change behavior of Colorator gem ENV["THOR_SHELL"] = "Basic" if ENV["NO_COLOR"] output_version = if ARGV[0] == "-v" puts "bridgetown #{Bridgetown::VERSION} \"#{Bridgetown::CODE_NAME}\"" true end ENV["RACK_ENV"] = ENV["BRIDGETOWN_ENV"] require "bridgetown-core/commands/base" Bridgetown::Commands::Base.start unless output_version
Version data entries
8 entries across 8 versions & 1 rubygems