Sha256: aa71d913c63954cceb07404a436e2343c517889168b468d1307e12bcf3ddd725
Contents?: true
Size: 604 Bytes
Versions: 112
Compression:
Stored size: 604 Bytes
Contents
#! /usr/bin/env ruby # because rubygems shims assume a gem's executables are Ruby require "tailwindcss/ruby" begin command = [Tailwindcss::Ruby.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::Ruby::UnsupportedPlatformException, Tailwindcss::Ruby::ExecutableNotFoundException => e STDERR.puts("ERROR: " + e.message) exit 1 end
Version data entries
112 entries across 112 versions & 1 rubygems