codecrafters-shell-c

personal solution to the "Build Your Own Shell" challenge from codecrafters
git clone https://github.com/5hif7y/codecrafters-shell-c.git
Log | Files | Refs | README

compile.sh (251B)


      1 #!/bin/sh
      2 #
      3 # This script is used to compile your program on CodeCrafters
      4 # 
      5 # This runs before .codecrafters/run.sh
      6 #
      7 # Learn more: https://codecrafters.io/program-interface
      8 
      9 # Exit early if any commands fail
     10 set -e
     11 
     12 gcc app/*.c -o /tmp/shell-target