Skip to content

Commit

Permalink
Move warning to deps/build.jl (fixes #41)
Browse files Browse the repository at this point in the history
  • Loading branch information
PerezHz committed Jun 29, 2024
1 parent 246157d commit 658a272
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "HORIZONS"
uuid = "5a3ac768-beb4-554a-9c98-3342fe3377f5"
repo = "https://github.com/PerezHz/HORIZONS.jl.git"
authors = ["Jorge A. Pérez Hernández", "Luis Eduardo Ramírez Montoya"]
version = "0.4.6"
version = "0.4.7"

[deps]
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Expand Down
8 changes: 8 additions & 0 deletions deps/build.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file is part of the HORIZONS.jl package, licensed under the MIT "Expat" License

# Breaking change warning added in v0.4.0; to be deleted in next minor version (v0.5.0)
@warn("""\n
# Breaking change
Starting from v0.4.0 HORIZONS.jl connects to JPL via a HTTP API.
Previous versions used the telnet command line utility as an external dependency.
""")
12 changes: 0 additions & 12 deletions src/HORIZONS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,4 @@ include("obstbl.jl")
include("scout.jl")
include("ooetbl.jl")

function __init__()

# Breaking change warning added in v0.4.0; to be deleted in next minor version (v0.5.0)
@warn("""\n
# Breaking change
Starting from v0.4.0 HORIZONS.jl connects to JPL via a HTTP API.
Previous versions used the telnet command line utility as an external dependency.
""")

end


end # module

0 comments on commit 658a272

Please sign in to comment.