Sha256: 39226ab6ed62f0c7071a20cb9041c64ce15f7084627ccce330b515aadb6280ca
Contents?: true
Size: 823 Bytes
Versions: 14
Compression:
Stored size: 823 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 require "bridgetown-core/commands/base" Bridgetown::Commands::Base.start unless output_version
Version data entries
14 entries across 14 versions & 1 rubygems