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 Grunt to expose environment targets that reshape PATH and SERVICE_FLAGS by prepending, appending, and concatenating values with explicit delimiters. Each target should be runnable on its own (env:tools, env:projectBins, env:runtimeFlags) or in sequence to produce the described merged environment, relying on the dependency's directive-based merges instead of manual string assembly.
PATH="/usr/bin:/bin" before execution, running the env:tools target results in PATH="/opt/tools/bin:/usr/bin:/bin", keeping the original ordering intact. @testPATH="/usr/bin:/bin" before execution, running the env:projectBins target results in PATH="/usr/bin:/bin:node_modules/.bin", using : as the delimiter between existing and appended entries. @testSERVICE_FLAGS="core" before execution, running the env:runtimeFlags target results in SERVICE_FLAGS="core;beta;gamma", using ; as the delimiter between values. @testenv:tools, then env:projectBins, then env:runtimeFlags leaves PATH="/opt/tools/bin:/usr/bin:/bin:node_modules/.bin" and SERVICE_FLAGS="core;beta;gamma" at the end of the chain. @test@generates
module.exports = function (grunt);Task runner used to load and invoke environment configuration.
Provides environment merging directives for prepending, appending, and concatenating variables with delimiters.