From 8e499496cc52b2a5b1914c10c312559dc73f390d Mon Sep 17 00:00:00 2001 From: codecrafters-bot Date: Thu, 19 Feb 2026 14:44:46 +0000 Subject: init [skip ci] --- your_program.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 your_program.sh (limited to 'your_program.sh') diff --git a/your_program.sh b/your_program.sh new file mode 100755 index 0000000..9a6bb91 --- /dev/null +++ b/your_program.sh @@ -0,0 +1,24 @@ +#!/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 + zig build --prefix /tmp/codecrafters-build-claude-code-zig +) + +# Copied from .codecrafters/run.sh +# +# - Edit this to change how your program runs locally +# - Edit .codecrafters/run.sh to change how your program runs remotely +exec /tmp/codecrafters-build-claude-code-zig/bin/main "$@" -- cgit v1.2.3