11 lines
255 B

  1. #!/bin/bash
  2. # Check if a Ceedling project exists
  3. if [ -f "project.yml" ]; then
  4. echo "Building and testing C project with Ceedling..."
  5. ceedling test:all
  6. exit $?
  7. else
  8. echo "No Ceedling project found in the current directory."
  9. exit 1
  10. fi