-
Notifications
You must be signed in to change notification settings - Fork 0
/
gen_manifest.jl
31 lines (25 loc) · 1008 Bytes
/
gen_manifest.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# The below actions are necessary to install the project when not using the `Manifest.toml`
# committed to the repository (see ReadMe).
# (The below actions cannot be recorded in `Project.toml`).
using Pkg
Pkg.activate(".")
local_pkgs = [
"Sciplotlib",
"SpikeWorks",
"ConnectionTests", # Depends on ConnTestEval, WithFeedback
"ConnTestEval",
"MemDiskCache", # Depends on WithFeedback
"DistributedLoopMonitor",
"WithFeedback",
]
# This list is sorted so the more top-level packages occur earlier.
for name in local_pkgs
# Without these temporarily removals, we'd get "LoadError: expected package {local_dep}
# to be registered" when calling `develop` below.
Pkg.rm(name)
end
for name in reverse(local_pkgs) # Install more low-level packages first.
Pkg.develop(path = joinpath("pkg", name))
end
Pkg.add(url = "https://github.com/JuliaNLSolvers/LsqFit.jl", rev = "e9b9e8732")
# Unreleased version, to get https://github.com/JuliaNLSolvers/LsqFit.jl/pull/222