- Build: Prepare your project environment
- Compile: Transform your source code into executable format (if applicable)
- Run: Execute your program for testing
Configuration Files
You can modify specific files in your project to control how your code is processed:File | Purpose | Scope |
---|---|---|
your_program.sh | Local compilation and execution | Local only |
.codecrafters/compile.sh | Remote compilation | CodeCrafters servers |
.codecrafters/run.sh | Remote execution | CodeCrafters servers |
Local Configuration
your_program.sh
This script handles both the compilation (if necessary) and execution of your program in your local environment.
Modify this file to change how your program runs locally.
Changes to this file DO NOT affect how your program is run on CodeCrafteers servers
Remote Configuration
.codecrafters/compile.sh
This script is used to compile your program on CodeCrafters servers.
This file will be empty for interpreted languages like (e.g., Python, Ruby)