Browse Source

Updated build script and Ceedling configuration in develop branch

remotes/origin/kabrel
fdai7782 11 months ago
parent
commit
dff8cc5f43
  1. 13
      create_folders.sh
  2. 15
      project.yml

13
create_folders.sh

@ -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

15
project.yml

@ -88,9 +88,18 @@
:placement: :end :placement: :end
:flag: "-l${1}" :flag: "-l${1}"
:path_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:
- stdio
- string
- stdlib
- m # Example: add 'm' to use the math library in release builds
:plugins: :plugins:
:load_paths: :load_paths:

Loading…
Cancel
Save