Skip to content

Commit

Permalink
Directly import InitialValues; no at-require
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Aug 4, 2019
1 parent ce420f1 commit e253b83
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ version = "0.2.0-DEV"

[deps]
Future = "9fa8497b-333b-5362-9e8d-4d0656e87820"
InitialValues = "22cec73e-a1b8-11e9-2c92-598750a2cf9c"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
Setfield = "efcf1570-3423-57d1-acb7-fd33fddbac46"

[compat]
julia = "1.0"
InitialValues = "≥ 0.2, < 1"

[extras]
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Expand Down
5 changes: 2 additions & 3 deletions src/BangBang.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export
setproperty!!,
splice!!

using InitialValues
using LinearAlgebra
using Requires

Expand All @@ -25,14 +26,12 @@ using .NoBang: ImmutableContainer
include("core.jl")
include("base.jl")
include("linearalgebra.jl")
include("initials.jl")

function __init__()
@require StaticArrays="90137ffa-7385-5640-81b9-e52037218182" begin
include("staticarrays.jl")
end
@require InitialValues="22cec73e-a1b8-11e9-2c92-598750a2cf9c" begin
include("initials.jl")
end
end

end # module
2 changes: 1 addition & 1 deletion test/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ uuid = "4c88cf16-eb10-579e-8560-4a9242c79595"
version = "0.4.0"

[[BangBang]]
deps = ["Future", "LinearAlgebra", "Requires", "Setfield"]
deps = ["Future", "InitialValues", "LinearAlgebra", "Requires", "Setfield"]
path = ".."
uuid = "198e06fe-97b7-11e9-32a5-e1d131e6ad66"
version = "0.2.0-DEV"
Expand Down

0 comments on commit e253b83

Please sign in to comment.