We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ff6de3 commit 67d4f56Copy full SHA for 67d4f56
scripts/build_docu.jl
@@ -2,6 +2,21 @@
2
# you must have installed the package LiveServer in your global environment
3
4
using Pkg
5
+
6
+function globaldependencies()
7
+ projectpath = Pkg.project().path
8
+ basepath, _ = splitdir(projectpath)
9
+ Pkg.activate()
10
+ globaldependencies = keys(Pkg.project().dependencies)
11
+ Pkg.activate(basepath)
12
+ globaldependencies
13
+end
14
15
+if !("LiveServer" in globaldependencies())
16
+ println("Installing LiveServer globally!")
17
+ run(`julia -e 'using Pkg; Pkg.add("LiveServer")'`)
18
19
20
if !("Documenter" ∈ keys(Pkg.project().dependencies))
21
using TestEnv
22
TestEnv.activate()
0 commit comments