your_program.sh 730B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. #
  3. # Use this script to run your program LOCALLY.
  4. #
  5. # Note: Changing this script WILL NOT affect how CodeCrafters runs your program.
  6. #
  7. # Learn more: https://codecrafters.io/program-interface
  8. set -e # Exit early if any commands fail
  9. # Copied from .codecrafters/compile.sh
  10. #
  11. # - Edit this to change how your program compiles locally
  12. # - Edit .codecrafters/compile.sh to change how your program compiles remotely
  13. (
  14. cd "$(dirname "$0")" # Ensure compile steps are run within the repository directory
  15. zig build -freference-trace
  16. )
  17. # Copied from .codecrafters/run.sh
  18. #
  19. # - Edit this to change how your program runs locally
  20. # - Edit .codecrafters/run.sh to change how your program runs remotely
  21. exec zig-out/bin/zig "$@"