Skip to content

Commit

Permalink
Add tailwindcss-linux-arm64 support (make docker on Apple Silicon M1 …
Browse files Browse the repository at this point in the history
…workflow possible) (#112)

* Add tailwindcss-linux-arm64 support

* Bump for Tailwind 3.0.8
  • Loading branch information
schmidp committed Jan 3, 2022
1 parent bc12aed commit d287c0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/tailwindcss/upstream.rb
@@ -1,14 +1,15 @@
module Tailwindcss
# constants describing the upstream tailwindcss project
module Upstream
VERSION = "v3.0.7"
VERSION = "v3.0.8"

# rubygems platform name => upstream release filename
NATIVE_PLATFORMS = {
"arm64-darwin" => "tailwindcss-macos-arm64",
"x64-mingw32" => "tailwindcss-windows-x64.exe",
"x86_64-darwin" => "tailwindcss-macos-x64",
"x86_64-linux" => "tailwindcss-linux-x64",
"aarch64-linux" => "tailwindcss-linux-arm64",
}
end
end
2 changes: 2 additions & 0 deletions rakelib/package.rake
Expand Up @@ -27,6 +27,7 @@
# So the full set of gem files created will be:
#
# - pkg/tailwindcss-rails-1.0.0.gem
# - pkg/tailwindcss-rails-1.0.0-aarch64-linux.gem
# - pkg/tailwindcss-rails-1.0.0-arm64-darwin.gem
# - pkg/tailwindcss-rails-1.0.0-x64-mingw32.gem
# - pkg/tailwindcss-rails-1.0.0-x86_64-darwin.gem
Expand All @@ -39,6 +40,7 @@
# New rake tasks created:
#
# - rake gem:ruby # Build the ruby gem
# - rake gem:aarch64-linux # Build the aarch64-linux gem
# - rake gem:arm64-darwin # Build the arm64-darwin gem
# - rake gem:x64-mingw32 # Build the x64-mingw32 gem
# - rake gem:x86_64-darwin # Build the x86_64-darwin gem
Expand Down

0 comments on commit d287c0a

Please sign in to comment.