Sha256: 779dc91582e3db6260510d8fee306fc1c61ccd7d8cb34f72edd9fb38f8d2f93a
Contents?: true
Size: 615 Bytes
Versions: 18
Compression:
Stored size: 615 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true STDOUT.sync = true $LOAD_PATH.unshift File.expand_path("../../bridgetown/lib", __dir__) 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
18 entries across 18 versions & 1 rubygems