@ -1,2 +1,11 @@
mkdir -p src/main/c
mkdir -p src/test/c/support
#!/bin/bash
# Check if a Ceedling project exists
if [ -f "project.yml" ]; then
echo "Building and testing C project with Ceedling..."
ceedling test:all
exit $?
else
echo "No Ceedling project found in the current directory."
exit 1
fi
@ -88,9 +88,18 @@
:placement: :end
:flag: "-l${1}"
:path_flag: "-L ${1}"
:system: [] # for example, you might list 'm' to grab the math library
:test: []
:release: []
:system:
- m # Example: add 'm' to use the math library
:test:
- stdio
- string
- stdlib
- m # Example: add 'm' to use the math library in tests
:release:
- m # Example: add 'm' to use the math library in release builds
:plugins:
:load_paths: