-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
28202bc
commit 85218bc
Showing
19 changed files
with
232 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
test/project/Extensions/CrossPackageExtToExtDependency/Manifest.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# This file is machine-generated - editing it directly is not advised | ||
|
||
julia_version = "1.11.1" | ||
manifest_format = "2.0" | ||
project_hash = "dc35c2cf8c6b82fb5b9624c9713c2df34ca30499" | ||
|
||
[[deps.CyclicExtensions]] | ||
deps = ["ExtDep"] | ||
path = "../CyclicExtensions" | ||
uuid = "17d4f0df-b55c-4714-ac4b-55fa23f7355c" | ||
version = "0.1.0" | ||
weakdeps = ["SomePackage"] | ||
|
||
[deps.CyclicExtensions.extensions] | ||
ExtA = ["SomePackage"] | ||
ExtB = ["SomePackage"] | ||
|
||
[[deps.ExtDep]] | ||
deps = ["SomeOtherPackage", "SomePackage"] | ||
path = "../ExtDep.jl" | ||
uuid = "fa069be4-f60b-4d4c-8b95-f8008775090c" | ||
version = "0.1.0" | ||
|
||
[[deps.SomeOtherPackage]] | ||
path = "../SomeOtherPackage" | ||
uuid = "178f68a2-4498-45ee-a775-452b36359b63" | ||
version = "0.1.0" | ||
|
||
[[deps.SomePackage]] | ||
path = "../SomePackage" | ||
uuid = "678608ae-7bb3-42c7-98b1-82102067a3d8" | ||
version = "0.1.0" |
12 changes: 12 additions & 0 deletions
12
test/project/Extensions/CrossPackageExtToExtDependency/Project.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name = "CrossPackageExtToExtDependency" | ||
uuid = "30f07f2e-c47e-40db-93a2-cbc4d1b301cc" | ||
version = "0.1.0" | ||
|
||
[deps] | ||
CyclicExtensions = "17d4f0df-b55c-4714-ac4b-55fa23f7355c" | ||
|
||
[weakdeps] | ||
SomePackage = "678608ae-7bb3-42c7-98b1-82102067a3d8" | ||
|
||
[extensions] | ||
ExtAB = ["CyclicExtensions", "SomePackage"] |
12 changes: 12 additions & 0 deletions
12
test/project/Extensions/CrossPackageExtToExtDependency/ext/ExtAB.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module ExtAB | ||
|
||
using CrossPackageExtToExtDependency | ||
using SomePackage | ||
using CyclicExtensions | ||
|
||
const ExtA = Base.get_extension(CyclicExtensions, :ExtA) | ||
if !(ExtA isa Module) | ||
error("expected extension to load") | ||
end | ||
|
||
end |
7 changes: 7 additions & 0 deletions
7
test/project/Extensions/CrossPackageExtToExtDependency/src/CrossPackageExtToExtDependency.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module CrossPackageExtToExtDependency | ||
|
||
using CyclicExtensions | ||
|
||
greet() = print("Hello x-package ext-to-ext!") | ||
|
||
end # module CrossPackageExtToTextDependency |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# This file is machine-generated - editing it directly is not advised | ||
|
||
julia_version = "1.11.1" | ||
manifest_format = "2.0" | ||
project_hash = "90b427e837c654fabb1434527ea698dabad46d29" | ||
|
||
[[deps.ExtDep]] | ||
deps = ["SomeOtherPackage", "SomePackage"] | ||
path = "../ExtDep.jl" | ||
uuid = "fa069be4-f60b-4d4c-8b95-f8008775090c" | ||
version = "0.1.0" | ||
|
||
[[deps.SomeOtherPackage]] | ||
path = "../SomeOtherPackage" | ||
uuid = "178f68a2-4498-45ee-a775-452b36359b63" | ||
version = "0.1.0" | ||
|
||
[[deps.SomePackage]] | ||
path = "../SomePackage" | ||
uuid = "678608ae-7bb3-42c7-98b1-82102067a3d8" | ||
version = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name = "ExtToExtDependency" | ||
uuid = "594ddb71-72fb-4cfe-9471-775d48a5b70b" | ||
version = "0.1.0" | ||
|
||
[deps] | ||
ExtDep = "fa069be4-f60b-4d4c-8b95-f8008775090c" | ||
|
||
[weakdeps] | ||
SomeOtherPackage = "178f68a2-4498-45ee-a775-452b36359b63" | ||
SomePackage = "678608ae-7bb3-42c7-98b1-82102067a3d8" | ||
|
||
[extensions] | ||
ExtA = ["SomePackage"] | ||
ExtAB = ["SomePackage", "SomeOtherPackage"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module ExtA | ||
|
||
using ExtToExtDependency | ||
using SomePackage | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module ExtAB | ||
|
||
using ExtToExtDependency | ||
using SomePackage | ||
using SomeOtherPackage | ||
|
||
const ExtA = Base.get_extension(ExtToExtDependency, :ExtA) | ||
if !(ExtA isa Module) | ||
error("expected extension to load") | ||
end | ||
|
||
end |
7 changes: 7 additions & 0 deletions
7
test/project/Extensions/ExtToExtDependency/src/ExtToExtDependency.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module ExtToExtDependency | ||
|
||
using ExtDep | ||
|
||
greet() = print("Hello ext-to-ext!") | ||
|
||
end # module ExtToExtDependency |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
name = "SomeOtherPackage" | ||
uuid = "178f68a2-4498-45ee-a775-452b36359b63" | ||
authors = ["Cody Tapscott <[email protected]>"] | ||
version = "0.1.0" |
5 changes: 5 additions & 0 deletions
5
test/project/Extensions/SomeOtherPackage/src/SomeOtherPackage.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module SomeOtherPackage | ||
|
||
greet() = print("Hello World!") | ||
|
||
end # module SomeOtherPackage |