lib/tailwind_dsl.rb in tailwind_dsl-0.0.3 vs lib/tailwind_dsl.rb in tailwind_dsl-0.0.4

- old
+ new

@@ -1,17 +1,31 @@ # frozen_string_literal: true +require 'cmdlet' + require_relative 'tailwind_dsl/version' -require_relative '_' +# require_relative '_' +require_relative 'tailwind_dsl/etl/raw_components/director' +require_relative 'tailwind_dsl/etl/raw_components/transformer' +require_relative 'tailwind_dsl/etl/raw_components/schema/target_file' +require_relative 'tailwind_dsl/etl/raw_components/schema/source_file' +require_relative 'tailwind_dsl/etl/raw_components/schema/group' +require_relative 'tailwind_dsl/etl/raw_components/schema/design_system' +require_relative 'tailwind_dsl/etl/raw_components/schema/uikit' + +require_relative 'tailwind_dsl/etl/component_structures/data' +require_relative 'tailwind_dsl/etl/component_structures/transformer' +# require_relative 'tailwind_dsl/astro_demo/generate_astro_page_data' + module TailwindDsl # raise TailwindDsl::Error, 'Sample message' Error = Class.new(StandardError) # Your code goes here... end -if ENV['KLUE_DEBUG']&.to_s&.downcase == 'true' +if ENV.fetch('KLUE_DEBUG', 'false').downcase == 'true' namespace = 'TailwindDsl::Version' file_path = $LOADED_FEATURES.find { |f| f.include?('tailwind_dsl/version') } version = TailwindDsl::VERSION.ljust(9) puts "#{namespace.ljust(35)} : #{version.ljust(9)} : #{file_path}" end