CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-grunt-env

tessl install tessl/npm-grunt-env@1.0.0

Grunt 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%

rubric.jsonevals/scenario-2/

{
  "context": "Evaluates whether the Gruntfile uses grunt-env directive merges to prepend, append, and concatenate environment variables with explicit delimiters for the tools, projectBins, and runtimeFlags targets.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Plugin setup",
      "description": "Loads grunt-env and registers runnable env:tools, env:projectBins, and env:runtimeFlags targets so the plugin, not custom code, controls environment updates.",
      "max_score": 10
    },
    {
      "name": "Unshift PATH",
      "description": "env:tools uses the grunt-env `unshift` directive with delimiter ':' to prepend /opt/tools/bin ahead of the existing PATH while preserving prior entries.",
      "max_score": 30
    },
    {
      "name": "Push PATH",
      "description": "env:projectBins uses the grunt-env `push` directive (string or { value, delimiter }) with delimiter ':' to append node_modules/.bin after the existing PATH content.",
      "max_score": 25
    },
    {
      "name": "Concat flags",
      "description": "env:runtimeFlags uses the grunt-env `concat` directive with delimiter ';' to add beta and gamma after the starting SERVICE_FLAGS value.",
      "max_score": 25
    },
    {
      "name": "Chained run",
      "description": "Executing env:tools then env:projectBins then env:runtimeFlags leaves the directive-applied values intact across tasks, relying on grunt-env-managed process.env rather than manual overrides.",
      "max_score": 10
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/grunt-env@1.0.x
tile.json