Skip to content

Fix extension naming #205

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

Merged
merged 1 commit into from
Apr 26, 2023
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ComponentArrays"
uuid = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
authors = ["Jonnie Diegelman <[email protected]>"]
version = "0.13.11"
version = "0.13.12"

[deps]
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
Expand Down Expand Up @@ -34,12 +34,12 @@ StaticArrays = "1"
julia = "1.6"

[extensions]
ConstructionBaseExt = "ConstructionBase"
GPUArraysExt = "GPUArrays"
RecursiveArrayToolsExt = "RecursiveArrayTools"
ReverseDiffExt = "ReverseDiff"
SciMLBaseExt = "SciMLBase"
StaticArraysExt = "StaticArrays"
ComponentArraysConstructionBaseExt = "ConstructionBase"
ComponentArraysGPUArraysExt = "GPUArrays"
ComponentArraysRecursiveArrayToolsExt = "RecursiveArrayTools"
ComponentArraysReverseDiffExt = "ReverseDiff"
ComponentArraysSciMLBaseExt = "SciMLBase"
ComponentArraysStaticArraysExt = "StaticArrays"

[extras]
ConstructionBase = "187b0558-2788-49d3-abe0-74a17ed4e7c9"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module ConstructionBaseExt
module ComponentArraysConstructionBaseExt

using ComponentArrays
isdefined(Base, :get_extension) ? (using ConstructionBase) : (using ..ConstructionBase)
Expand Down
2 changes: 1 addition & 1 deletion ext/GPUArraysExt.jl → ext/ComponentArraysGPUArraysExt.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module GPUArraysExt
module ComponentArraysGPUArraysExt

using ComponentArrays, LinearAlgebra
isdefined(Base, :get_extension) ? (using GPUArrays) : (using ..GPUArrays)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module RecursiveArrayToolsExt
module ComponentArraysRecursiveArrayToolsExt

using ComponentArrays
isdefined(Base, :get_extension) ? (using RecursiveArrayTools) : (using ..RecursiveArrayTools)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module ReverseDiffExt
module ComponentArraysReverseDiffExt

using ComponentArrays
isdefined(Base, :get_extension) ? (using ReverseDiff) : (using ..ReverseDiff)
Expand Down
2 changes: 1 addition & 1 deletion ext/SciMLBaseExt.jl → ext/ComponentArraysSciMLBaseExt.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Plotting stuff
module SciMLBaseExt
module ComponentArraysSciMLBaseExt

using ComponentArrays
isdefined(Base, :get_extension) ? (using SciMLBase) : (using ..SciMLBase)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module StaticArraysExt
module ComponentArraysStaticArraysExt

using ComponentArrays
isdefined(Base, :get_extension) ? (using StaticArrays) : (using ..StaticArrays)
Expand Down
12 changes: 6 additions & 6 deletions src/ComponentArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ include("compat/chainrulescore.jl")

function __init__()
@static if !isdefined(Base, :get_extension)
@require ConstructionBase="187b0558-2788-49d3-abe0-74a17ed4e7c9" include("../ext/ConstructionBaseExt.jl")
@require SciMLBase="0bca4576-84f4-4d90-8ffe-ffa030f20462" include("../ext/SciMLBaseExt.jl")
@require RecursiveArrayTools="731186ca-8d62-57ce-b412-fbd966d074cd" include("../ext/RecursiveArrayToolsExt.jl")
@require StaticArrays="90137ffa-7385-5640-81b9-e52037218182" include("../ext/StaticArraysExt.jl")
@require ReverseDiff="37e2e3b7-166d-5795-8a7a-e32c996b4267" include("../ext/ReverseDiffExt.jl")
@require GPUArrays="0c68f7d7-f131-5f86-a1c3-88cf8149b2d7" include("../ext/GPUArraysExt.jl")
@require ConstructionBase="187b0558-2788-49d3-abe0-74a17ed4e7c9" include("../ext/ComponentArraysConstructionBaseExt.jl")
@require SciMLBase="0bca4576-84f4-4d90-8ffe-ffa030f20462" include("../ext/ComponentArraysSciMLBaseExt.jl")
@require RecursiveArrayTools="731186ca-8d62-57ce-b412-fbd966d074cd" include("../ext/ComponentArraysRecursiveArrayToolsExt.jl")
@require StaticArrays="90137ffa-7385-5640-81b9-e52037218182" include("../ext/ComponentArraysStaticArraysExt.jl")
@require ReverseDiff="37e2e3b7-166d-5795-8a7a-e32c996b4267" include("../ext/ComponentArraysReverseDiffExt.jl")
@require GPUArrays="0c68f7d7-f131-5f86-a1c3-88cf8149b2d7" include("../ext/ComponentArraysGPUArraysExt.jl")
end
end

Expand Down