kennethreitz / kennethreitz/bake

Variable and command substitution

Open
#5 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
638
Forks
24
PR merge metrics
No merged PRs in 30d

Description

In Makefile we could substitute a command with an variable, and running with alternatives: `make CC=clang++ test`:

```Makefile
CC = g++
test:
$(CC) foo.cc
```

Though this is related to Makefile syntax, it might still be worth to consider it. XD

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue provides a Makefile example using CC and a test target, but names no implementation file or test. Start by locating Bake's command parsing and execution entry points, then verify that a command variable can be overridden as in `make CC=clang++ test`; done means the documented example works without breaking existing command execution.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, shell
Domain
build-system, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.