Unverified Commit 2df44571 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil Committed by GitHub
Browse files

Merge pull request #231 from LCSB-BioCore/lh-format-banner

format banner
parents 4a03a23d f21d55a3
...@@ -6,6 +6,7 @@ version = "0.1.0" ...@@ -6,6 +6,7 @@ version = "0.1.0"
[deps] [deps]
Clp = "e2554f3b-3117-50c0-817c-e040a3ddf72d" Clp = "e2554f3b-3117-50c0-817c-e040a3ddf72d"
Crayons = "a8cc5b0e-0ffa-5ad4-8c14-923d3ee1735f" Crayons = "a8cc5b0e-0ffa-5ad4-8c14-923d3ee1735f"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab" DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b" Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
DistributedData = "f6a0035f-c5ac-4ad0-b410-ad102ced35df" DistributedData = "f6a0035f-c5ac-4ad0-b410-ad102ced35df"
......
...@@ -18,11 +18,13 @@ using Random ...@@ -18,11 +18,13 @@ using Random
using MacroTools # for DSL :) using MacroTools # for DSL :)
using OrderedCollections using OrderedCollections
using Crayons using Crayons
using Dates
import Base: findfirst, getindex, show import Base: findfirst, getindex, show
import Pkg import Pkg
import SBML # conflict with Reaction struct name import SBML # conflict with Reaction struct name
include("banner.jl") include("banner.jl")
_print_banner() _print_banner()
......
const _PKG_ROOT_DIR = normpath(joinpath(@__DIR__, "..")) const _PKG_ROOT_DIR = normpath(joinpath(@__DIR__, ".."))
include_dependency(joinpath(_PKG_ROOT_DIR, "Project.toml")) include_dependency(joinpath(_PKG_ROOT_DIR, "Project.toml"))
...@@ -11,17 +10,17 @@ function _print_banner() ...@@ -11,17 +10,17 @@ function _print_banner()
y = c[:bold] * c[:cyan] y = c[:bold] * c[:cyan]
println( println(
" "
$(y)// $(n) | $(y)// $(n) |
\\\\\\\\\\ // $(y)// $(n) | $(c[:bold])COBREXA.jl $(c[:normal]) \\\\\\\\\\ // $(y)// $(n) | $(c[:bold])COBREXA.jl $(c[:normal])
\\\\ \\\\// $(y)// $(n) | \\\\ \\\\// $(y)// $(n) |
\\\\ \\/ $(y)// $(n) | $(c[:bold])CO$(c[:normal])nstraint-$(c[:bold])B$(c[:normal])ased $(c[:bold])R$(c[:normal])econstruction \\\\ \\/ $(y)// $(n) | $(c[:bold])CO$(c[:normal])nstraint-$(c[:bold])B$(c[:normal])ased $(c[:bold])R$(c[:normal])econstruction
\\\\ $(y)// $(n) | and $(c[:bold])EX$(c[:normal])ascale $(c[:bold])A$(c[:normal])nalysis in Julia \\\\ $(y)// $(n) | and $(c[:bold])EX$(c[:normal])ascale $(c[:bold])A$(c[:normal])nalysis in Julia
// $(y)\\\\ $(n) | Version: v$(COBREXA_VERSION) // $(y)\\\\ $(n) |
// $(y)/\\ \\\\ $(n) | // $(y)/\\ \\\\ $(n) | Documentation: https://lcsb-biocore.github.io/COBREXA.jl
// $(y)//\\\\ \\\\ $(n)| Docs: http://lcsb-biocore.github.io/COBREXA.jl // $(y)//\\\\ \\\\ $(n)|
// $(y)// \\\\\\\\\\ $(n)| // $(y)// \\\\\\\\\\ $(n)| v$(COBREXA_VERSION) - $(Dates.year(Dates.today()))
// $(n)| // $(n)|
", ",
) )
end end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment