From de2af9c1848c6b25cde21d5af81956c9e85e790c Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Wed, 24 May 2023 12:37:18 +0530 Subject: [PATCH] rename extension module --- Project.toml | 4 ++-- ext/{AdaptExt.jl => OffsetArraysAdaptExt.jl} | 2 +- src/OffsetArrays.jl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename ext/{AdaptExt.jl => OffsetArraysAdaptExt.jl} (89%) diff --git a/Project.toml b/Project.toml index 4794e6b..42e8c09 100644 --- a/Project.toml +++ b/Project.toml @@ -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, 4" @@ -39,4 +39,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", "Adapt"] +test = ["Adapt", "Aqua", "CatIndices", "DistributedArrays", "DelimitedFiles", "Documenter", "EllipsisNotation", "FillArrays", "LinearAlgebra", "StaticArrays", "Test"] diff --git a/ext/AdaptExt.jl b/ext/OffsetArraysAdaptExt.jl similarity index 89% rename from ext/AdaptExt.jl rename to ext/OffsetArraysAdaptExt.jl index 1047a20..506bf90 100644 --- a/ext/AdaptExt.jl +++ b/ext/OffsetArraysAdaptExt.jl @@ -1,4 +1,4 @@ -module AdaptExt +module OffsetArraysAdaptExt using OffsetArrays, Adapt diff --git a/src/OffsetArrays.jl b/src/OffsetArrays.jl index 5405203..da158cb 100644 --- a/src/OffsetArrays.jl +++ b/src/OffsetArrays.jl @@ -853,7 +853,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"