mirror of
https://github.com/ANL-CEEESA/MIPLearn.jl.git
synced 2025-12-06 16:38:51 -06:00
Update juliaw
This commit is contained in:
11
juliaw
11
juliaw
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization
|
# UnitCommitment.jl: Optimization Package for Security-Constrained Unit Commitment
|
||||||
# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved.
|
# Copyright (C) 2020-2021, UChicago Argonne, LLC. All rights reserved.
|
||||||
# Released under the modified BSD license. See COPYING.md for more details.
|
# Released under the modified BSD license. See COPYING.md for more details.
|
||||||
|
|
||||||
@@ -47,7 +47,14 @@ project = TOML.parsefile("Project.toml")
|
|||||||
manifest = TOML.parsefile("Manifest.toml")
|
manifest = TOML.parsefile("Manifest.toml")
|
||||||
deps = Symbol[]
|
deps = Symbol[]
|
||||||
for dep in keys(project["deps"])
|
for dep in keys(project["deps"])
|
||||||
if "path" in keys(manifest[dep][1])
|
if dep in keys(manifest)
|
||||||
|
# Up to Julia 1.6
|
||||||
|
dep_entry = manifest[dep][1]
|
||||||
|
else
|
||||||
|
# Julia 1.7+
|
||||||
|
dep_entry = manifest["deps"][dep][1]
|
||||||
|
end
|
||||||
|
if "path" in keys(dep_entry)
|
||||||
println(" - \$(dep) [skip]")
|
println(" - \$(dep) [skip]")
|
||||||
else
|
else
|
||||||
println(" - \$(dep)")
|
println(" - \$(dep)")
|
||||||
|
|||||||
Reference in New Issue
Block a user