Sha256: 3505dcbc1932f85431fff45a2bc55f69a9207cc0acd60c6c8bce9b4dccfe6173
Contents?: true
Size: 620 Bytes
Versions: 399
Compression:
Stored size: 620 Bytes
Contents
#! /usr/bin/env ruby # because rubygems shims assume a gem's executables are Ruby require "tailwindcss/commands" begin command = [Tailwindcss::Commands.executable, *ARGV] puts command.inspect if Gem.win_platform? # use system rather than exec as exec inexplicably fails to find the executable on Windows # see related https://github.com/rubys/sprockets-esbuild/pull/4 system(*command, exception: true) else exec(*command) end rescue Tailwindcss::Commands::UnsupportedPlatformException, Tailwindcss::Commands::ExecutableNotFoundException => e STDERR.puts("ERROR: " + e.message) exit 1 end
Version data entries
399 entries across 399 versions & 5 rubygems