Sha256: bfc7e1357c2ad45e3f61a0849595bc9f3b7256dced47db71e8f26a4ca33e625c
Contents?: true
Size: 597 Bytes
Versions: 16
Compression:
Stored size: 597 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 warn("ERROR: " + e.message) exit 1 end
Version data entries
16 entries across 16 versions & 1 rubygems