Skip to content

Commit

Permalink
add temporary directory to DEPOT_PATH for cache compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyrne committed Oct 30, 2020
1 parent 567f338 commit 685f05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ saved_depot_path = copy(DEPOT_PATH)
saved_active_project = Base.ACTIVE_PROJECT[]

push!(empty!(LOAD_PATH), "project")
push!(empty!(DEPOT_PATH), "depot")
append!(empty!(DEPOT_PATH), [mktempdir(), "depot"])
Base.ACTIVE_PROJECT[] = nothing

@test load_path() == [abspath("project","Project.toml")]
Expand Down

0 comments on commit 685f05c

Please sign in to comment.