Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tailwindcss-linux-arm64 support (make docker on Apple Silicon M1 workflow possible) #112

Merged
merged 2 commits into from Jan 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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