Sha256: aa71d913c63954cceb07404a436e2343c517889168b468d1307e12bcf3ddd725

Contents?: true

Size: 604 Bytes

Versions: 125

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

125 entries across 125 versions & 1 rubygems

Version Path
tailwindcss-ruby-0.2.0-x64-mingw32 exe/tailwindcss
tailwindcss-ruby-0.2.0 exe/tailwindcss
tailwindcss-ruby-0.2.0-arm-linux exe/tailwindcss
tailwindcss-ruby-0.2.0-arm64-darwin exe/tailwindcss
tailwindcss-ruby-0.2.0-aarch64-linux exe/tailwindcss