Skip to content

Commit

Permalink
Update rake build command to work with Windows (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
pietmichal authored Mar 10, 2022
1 parent af10f7e commit ddd757a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/build.rake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TAILWIND_COMPILE_COMMAND = "#{Pathname.new(__dir__).to_s}/../../exe/tailwindcss -i #{Rails.root.join("app/assets/stylesheets/application.tailwind.css")} -o #{Rails.root.join("app/assets/builds/tailwind.css")} -c #{Rails.root.join("config/tailwind.config.js")} --minify"
TAILWIND_COMPILE_COMMAND = "#{RbConfig.ruby} #{Pathname.new(__dir__).to_s}/../../exe/tailwindcss -i #{Rails.root.join("app/assets/stylesheets/application.tailwind.css")} -o #{Rails.root.join("app/assets/builds/tailwind.css")} -c #{Rails.root.join("config/tailwind.config.js")} --minify"

namespace :tailwindcss do
desc "Build your Tailwind CSS"
Expand Down

0 comments on commit ddd757a

Please sign in to comment.