module Crimson::ENV
Defined in:
env.crenv/linux.cr
Constant Summary
-
LIBRARY =
Path[::ENV["XDG_DATA_HOME"]? || (((Path.home / ".local") / "share") / "crimson")]
-
LIBRARY_BIN =
LIBRARY / "bin"
-
LIBRARY_BIN_CRYSTAL =
LIBRARY_BIN / "crystal"
-
LIBRARY_BIN_SHARDS =
LIBRARY_BIN / "shards"
-
LIBRARY_CRYSTAL =
LIBRARY / "crystal"
-
MIN_VERSION =
SemanticVersion.new(1, 2, 0)
-
TARGET_BIN_CRYSTAL =
"/usr/local/bin/crystal"
-
TARGET_BIN_SHARDS =
"/usr/local/bin/shards"
-
TARGET_IDENTIFIER =
"1-linux-x86_64.tar.gz"
Class Method Summary
- .decompress(root : Path, path : String, debug : Bool) : Nil
- .fetch_from_version(req : String | Nil) : String | Nil
- .fetch_versions : Array(String)
- .install_additional_dependencies(prompt : Bool) : Nil
- .install_dependencies(prompt : Bool) : Nil
- .installed?(version : String) : Bool
- .installed_versions : Array(SemanticVersion)
- .setup_executable_paths : Nil
- .switch(path : Path) : Nil