tessl install tessl/npm-grunt-env@1.0.0Grunt plugin for specifying environment variable configurations in task chains
Agent Success
Agent success rate when using this tile
81%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.99x
Baseline
Agent success rate without this tile
82%
Configure a build task that applies environment variable presets from literal entries and runtime-evaluated functions, with a default task chaining both presets.
process.env.APP_MODE equals static-mode because the static preset applies a literal entry. @testprocess.env.RUN_ID, demonstrating the value is produced by a function executed each run. @testprocess.env.COMBINED_FLAG equals static-mode-combined, showing the function reads an existing env var during evaluation. @test@generates
/**
* Configures the task runner to load static and dynamic environment presets and exposes a default task.
* The default task runs the static preset first and the dynamic preset second.
* @param {object} taskRunner - Build tool instance that supports task registration.
*/
module.exports = function configure(taskRunner);Provides preset-driven environment variable loading with support for literal entries and functions evaluated at task runtime. @satisfied-by