Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass multiple input files to single --input flag #16

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
check that @inputs is not empty@
Stanislav (Stas) Katkov committed Jan 3, 2025
commit 2cb0204d0e60d51b85c8e2ca9e47d0f4a49d49e0
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@ GEM
forwardable-extended (2.6.0)
google-protobuf (3.25.3)
google-protobuf (3.25.3-arm64-darwin)
google-protobuf (3.25.3-x86_64-linux)
http_parser.rb (0.8.0)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
@@ -95,6 +96,8 @@ GEM
rake (>= 13.0.0)
sass-embedded (1.71.1-arm64-darwin)
google-protobuf (~> 3.25)
sass-embedded (1.71.1-x86_64-linux-gnu)
google-protobuf (~> 3.25)
standard (1.35.0)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
@@ -109,6 +112,7 @@ GEM
rubocop-performance (~> 1.20.2)
tailwindcss-ruby (3.4.13)
tailwindcss-ruby (3.4.13-arm64-darwin)
tailwindcss-ruby (3.4.13-x86_64-linux)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.5.0)
@@ -117,6 +121,7 @@ GEM
PLATFORMS
arm64-darwin-23
ruby
x86_64-linux

DEPENDENCIES
jekyll-tailwind!
2 changes: 1 addition & 1 deletion lib/jekyll-tailwind.rb
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ def compile
]

# There could be multiple input files or non at all.
command += ["--input", @inputs.join(' ')]
command += ["--input", @inputs.join(' ')] unless @inputs.empty?
command += ["--minify"] if @minify
command += ["--postcss", @postcss] if File.exist?(@postcss)