@@ -266,59 +266,3 @@ else
266
266
end
267
267
268
268
libllvm_path () = ccall (:jl_get_libllvm , Any, ())
269
-
270
- function banner (io:: IO = stdout )
271
- if GIT_VERSION_INFO. tagged_commit
272
- commit_string = TAGGED_RELEASE_BANNER
273
- elseif isempty (GIT_VERSION_INFO. commit)
274
- commit_string = " "
275
- else
276
- days = Int (floor ((ccall (:jl_clock_now , Float64, ()) - GIT_VERSION_INFO. fork_master_timestamp) / (60 * 60 * 24 )))
277
- days = max (0 , days)
278
- unit = days == 1 ? " day" : " days"
279
- distance = GIT_VERSION_INFO. fork_master_distance
280
- commit = GIT_VERSION_INFO. commit_short
281
-
282
- if distance == 0
283
- commit_string = " Commit $(commit) ($(days) $(unit) old master)"
284
- else
285
- branch = GIT_VERSION_INFO. branch
286
- commit_string = " $(branch) /$(commit) (fork: $(distance) commits, $(days) $(unit) )"
287
- end
288
- end
289
-
290
- commit_date = isempty (Base. GIT_VERSION_INFO. date_string) ? " " : " ($(split (Base. GIT_VERSION_INFO. date_string)[1 ]) )"
291
-
292
- if get (io, :color , false ):: Bool
293
- c = text_colors
294
- tx = c[:normal ] # text
295
- jl = c[:normal ] # julia
296
- d1 = c[:bold ] * c[:blue ] # first dot
297
- d2 = c[:bold ] * c[:red ] # second dot
298
- d3 = c[:bold ] * c[:green ] # third dot
299
- d4 = c[:bold ] * c[:magenta ] # fourth dot
300
-
301
- print (io,""" $(d3) _$(tx)
302
- $(d1) _$(tx) $(jl) _$(tx) $(d2) _$(d3) (_)$(d4) _$(tx) | Documentation: https://docs.julialang.org
303
- $(d1) (_)$(jl) | $(d2) (_)$(tx) $(d4) (_)$(tx) |
304
- $(jl) _ _ _| |_ __ _$(tx) | Type \" ?\" for help, \" ]?\" for Pkg help.
305
- $(jl) | | | | | | |/ _` |$(tx) |
306
- $(jl) | | |_| | | | (_| |$(tx) | Version $(VERSION )$(commit_date)
307
- $(jl) _/ |\\ __'_|_|_|\\ __'_|$(tx) | $(commit_string)
308
- $(jl) |__/$(tx) |
309
-
310
- """ )
311
- else
312
- print (io,"""
313
- _
314
- _ _ _(_)_ | Documentation: https://docs.julialang.org
315
- (_) | (_) (_) |
316
- _ _ _| |_ __ _ | Type \" ?\" for help, \" ]?\" for Pkg help.
317
- | | | | | | |/ _` | |
318
- | | |_| | | | (_| | | Version $(VERSION )$(commit_date)
319
- _/ |\\ __'_|_|_|\\ __'_| | $(commit_string)
320
- |__/ |
321
-
322
- """ )
323
- end
324
- end
0 commit comments