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