-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbenchmark.yml
More file actions
39 lines (31 loc) · 1.18 KB
/
Copy pathbenchmark.yml
File metadata and controls
39 lines (31 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
benchmark:
name: "charcoal-cli"
description: "CLI tool for managing stacked pull requests (Graphite CLI fork)"
type: cli # server | cli
source_language: typescript
target_language: python
source:
language: typescript
description: "TypeScript/Node.js implementation with yargs CLI framework"
# Build phase
install_cmd: "yarn install" # Install dependencies
build_cmd: "yarn workspace @danerwilliams/gti-cli-shared-types build && yarn workspace @danerwilliams/charcoal build" # Compile TypeScript
# CLI runtime (relative to src/)
run_cmd: "node apps/cli/dist/src/index.js"
# Environment variables for build/run
env:
COREPACK_ENABLE_DOWNLOAD_PROMPT: "0" # Prevent corepack from prompting for yarn download
destination:
language: python
description: "Python implementation with argparse or Click CLI framework"
# Build phase
install_cmd: "pip install -r requirements.txt" # Install dependencies
build_cmd: null # Python doesn't need compilation
# CLI runtime (relative to dst/)
run_cmd: "python3 __main__.py"
testing:
tool: pytest
test_files:
- "commands/**/*.py"
test_dir: "tests"
pytest_args: "-v --tb=short" # Optional pytest arguments