Something went wrong. Try again.
Simple shell implementation.
Something went wrong. Try again.
12345678910111213141516171819202122232425#!/bin/sh## Use this script to run your program LOCALLY.## Note: Changing this script WILL NOT affect how CodeCrafters runs your program.## Learn more: https://codecrafters.io/program-interface
set -e # Exit early if any commands fail
# Copied from .codecrafters/compile.sh## - Edit this to change how your program compiles locally# - Edit .codecrafters/compile.sh to change how your program compiles remotely( cd "$(dirname "$0")" # Ensure compile steps are run within the repository directory cargo build --release --target-dir=/tmp/codecrafters-build-shell-rust --manifest-path Cargo.toml)
# Copied from .codecrafters/run.sh## - Edit this to change how your program runs locally# - Edit .codecrafters/run.sh to change how your program runs remotelyexec /tmp/codecrafters-build-shell-rust/release/codecrafters-shell "$@"