module Crun
Defined in:
build.crcache.cr
config.cr
crun.cr
errors.cr
lock.cr
shards.cr
version.cr
Constant Summary
-
ARGS =
ARGV.size > 1 ? ARGV[1..ARGV.size] : [] of String
-
CLEAN_CACHE_DAYS =
ENV["CRUN_CLEAN_CACHE_DAYS"]?.try do |v| v.as?(Int32) end || 7
-
SHARDS_END_ANCHOR =
Regex.escape(ENV.fetch("CRUN_SHARDS_END_ANCHOR", "..."))
-
SHARDS_START_ANCHOR =
Regex.escape(ENV.fetch("CRUN_SHARDS_START_ANCHOR", "---"))
-
SOURCE =
ARGV[0]?.try do |source| File.expand_path(source) end || ""
-
SOURCE_FILENAME =
File.basename(SOURCE)
-
VERSION =
"1.0.2"
Class Method Summary
- .build_dir
- .build_name(path : String)
- .build_path
- .build_shards_config
- .cache_path
- .cache_path=(path : String)
- .clean_cache
- .lockfile_path
- .run
- .shards_config_path
- .shards_yaml
- .with_lock(&)