(dir string, config *ast.TaskRC)
| 37 | } |
| 38 | |
| 39 | func ParseWithConfig(dir string, config *ast.TaskRC) { |
| 40 | // Read any .env files |
| 41 | readDotEnv(dir) |
| 42 | // Initialize the experiments |
| 43 | GentleForce = New("GENTLE_FORCE", config, 1) |
| 44 | RemoteTaskfiles = New("REMOTE_TASKFILES", config, 1) |
| 45 | EnvPrecedence = New("ENV_PRECEDENCE", config, 1) |
| 46 | AnyVariables = New("ANY_VARIABLES", config) |
| 47 | MapVariables = New("MAP_VARIABLES", config) |
| 48 | } |
| 49 | |
| 50 | // Validate checks if any experiments have been enabled while being inactive. |
| 51 | // If one is found, the function returns an error. |
no test coverage detected
searching dependent graphs…