Skip to content

Commit

Permalink
check deps
Browse files Browse the repository at this point in the history
  • Loading branch information
filiatra committed Dec 13, 2024
1 parent 23e0a3e commit 86a5c08
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
using Documenter, Example
# Check dependencies
neededPackages = [:Documenter, :Example, :gismo_jll]
using Pkg;

for neededpackage in neededPackages
(String(neededpackage) in keys(Pkg.project().dependencies)) || Pkg.add(String(neededpackage))
@eval using $neededpackage
end

push!(LOAD_PATH, "../src/")
using Gismo
Expand Down

0 comments on commit 86a5c08

Please sign in to comment.