class
Werk::Config
- Werk::Config
- Reference
- Object
Included Modules
- YAML::Serializable
Defined in:
werk/config/jobs/base.crwerk/config/jobs/docker.cr
werk/config/jobs/local.cr
werk/config/werkfile.cr
Constructors
Class Method Summary
-
.load_file(path : String)
Load configuration from file
- .load_string(content : String)
Instance Method Summary
-
#description : String
Description for the configuration file
- #dotenv : Set(String)
-
#jobs : Hash(String, Werk::Config::Job)
Jobs available in the current configuration
- #max_jobs : Int32
- #max_jobs=(max_jobs : Int32)
-
#variables : Hash(String, String)
List of global variables
-
#version : String
Configuration file version.