Skip to content

Commit

Permalink
provides: learn the new windows-arm64ec platform option
Browse files Browse the repository at this point in the history
  • Loading branch information
cfillion committed Oct 29, 2024
1 parent 562f9bc commit a143208
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/reapack/index/source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Source

PLATFORMS = {
all: nil,
windows: :all, win32: :windows, win64: :windows,
windows: :all, win32: :windows, win64: :windows, 'windows-arm64ec': :windows,
darwin: :all, darwin32: :darwin, darwin64: :darwin, 'darwin-arm64': :darwin,
linux: :all, linux32: :linux, linux64: :linux,
'linux-armv7l': :linux, 'linux-aarch64': :linux
Expand Down
3 changes: 2 additions & 1 deletion test/test_provides.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ def test_url_template
end

def test_platforms
assert_equal [:windows, :win32, :win64,
assert_equal [:windows, :win32, :win64, :'windows-arm64ec',
:darwin, :darwin32, :darwin64, :'darwin-arm64',
:linux, :linux32, :linux64, :'linux-armv7l', :'linux-aarch64'],
[
'[windows] file',
'[win32] file',
'[win64] file',
'[windows-arm64ec] file',
'[Darwin]file',
' [ darwin32 ] file',
'[win32 darwin64] file',
Expand Down

0 comments on commit a143208

Please sign in to comment.