Skip to content

Commit

Permalink
rename extension module
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Jul 21, 2023
1 parent 663c54d commit 4709e0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

[extensions]
AdaptExt = "Adapt"
OffsetArraysAdaptExt = "Adapt"

[compat]
Adapt = "2, 3"
Expand All @@ -23,6 +23,7 @@ StaticArrays = "1"
julia = "0.7, 1"

[extras]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
CatIndices = "aafaddc9-749c-510e-ac4f-586e18779b91"
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
Expand All @@ -35,4 +36,4 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Aqua", "CatIndices", "DistributedArrays", "DelimitedFiles", "Documenter", "Test", "LinearAlgebra", "EllipsisNotation", "StaticArrays", "FillArrays"]
test = ["Adapt", "Aqua", "CatIndices", "DistributedArrays", "DelimitedFiles", "Documenter", "Test", "LinearAlgebra", "EllipsisNotation", "StaticArrays", "FillArrays"]
2 changes: 1 addition & 1 deletion ext/AdaptExt.jl → ext/OffsetArraysAdaptExt.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module AdaptExt
module OffsetArraysAdaptExt

using OffsetArrays, Adapt

Expand Down
2 changes: 1 addition & 1 deletion src/OffsetArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ if VERSION <= v"1.7.0-DEV.400"
end

if !isdefined(Base, :get_extension)
include("../ext/AdaptExt.jl")
include("../ext/OffsetArraysAdaptExt.jl")
end

if Base.VERSION >= v"1.4.2"
Expand Down

0 comments on commit 4709e0d

Please sign in to comment.