Skip to content

Commit

Permalink
Remove redundant pre-register StyledStrings compat
Browse files Browse the repository at this point in the history
  • Loading branch information
tecosaur committed May 7, 2024
1 parent eadccb5 commit 37aa8f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ StyledStringsExt = "StyledStrings"

[compat]
FixedPointNumbers = "0.5, 0.6, 0.7, 0.8"
# StyledStrings = "1" # FIXME: workaround for unregistered StyledStrings
StyledStrings = "1"
julia = "1"

[extras]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" # FIXME: workaround for unregistered StyledStrings
StyledStrings = "f489334b-da3d-4c2e-b8f0-e476e12c162b"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Documenter", "Pkg", "Test"]
test = ["Documenter", "StyledStrings", "Test"]
2 changes: 1 addition & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" # FIXME: workaround for unregistered StyledStrings
StyledStrings = "f489334b-da3d-4c2e-b8f0-e476e12c162b"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
11 changes: 0 additions & 11 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@

# FIXME: Once StyledStrings v1 is registered, remove the following and the `Pkg` dependency
if isdefined(Base, :get_extension)
import Pkg
if VERSION < v"1.11"
Pkg.add(url="https://github.com/JuliaLang/StyledStrings.jl", rev="julia1-compat")
else
Pkg.add("StyledStrings")
end
end

using ColorTypes
using ColorTypes.FixedPointNumbers
using Test
Expand Down

0 comments on commit 37aa8f8

Please sign in to comment.