Skip to content

Commit 9376c80

Browse files
committed
added version control
1 parent bdeda40 commit 9376c80

File tree

2 files changed

+42
-75
lines changed

2 files changed

+42
-75
lines changed

CodeSnippetsJulia/attractorsClifford.jl

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,14 @@ BedheadExamples = [
5656

5757
attractorExamples = OrderedDict(Clifford => cliffordExamples,
5858
De_Jong => De_JongExamples, Svensson => SvenssonExamples,
59-
Bedhead => BedheadExamples)
59+
Bedhead => BedheadExamples)
60+
61+
function pkgsVersion()
62+
println("Julia == " * string(VERSION))
63+
for (key, version) sort(collect(Pkg.installed()))
64+
try
65+
isa(eval(Symbol(key)), Module) && println(key * " == " * string(version))
66+
catch
67+
end
68+
end
69+
end

0 commit comments

Comments
 (0)