Skip to content

Commit

Permalink
Fix doc project instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Apr 2, 2024
1 parent 38f393d commit 5cbebab
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/instantiate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ cd(docs_directory) do
Pkg.instantiate()

# Remove Aqua again from docs/Project.toml
project_toml = TOML.parsefile(joinpath(docs_directory, "Project.toml"))
delete!(project_toml["deps"], "Aqua")
lines = readlines(joinpath(docs_directory, "Project.toml"))
open(joinpath(docs_directory, "Project.toml"), "w") do io
TOML.print(io, project_toml)
for line in lines
if line == "Aqua = \"4c88cf16-eb10-579e-8560-4a9242c79595\""
continue
end
println(io, line)
end
end
end

0 comments on commit 5cbebab

Please sign in to comment.