Skip to content

Commit

Permalink
refactor: YAML replaces TOML for configuration file
Browse files Browse the repository at this point in the history
Signed-off-by: Iain Anderson <[email protected]>
  • Loading branch information
iain-anderson committed May 11, 2023
1 parent f74adf7 commit f894d10
Show file tree
Hide file tree
Showing 21 changed files with 303 additions and 717 deletions.
12 changes: 0 additions & 12 deletions Attribution.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
This software includes code licensed under the MIT License as follows:

TOML parser
-----------

Copyright (c) 2017 CK Tan
https://github.com/cktan/tomlc99

Map
---

Expand All @@ -18,12 +12,6 @@ https://github.com/rxi/map
Copyright (c) 2012 - 2017 Krzysztof Gabis
https://github.com/kgabis/parson

C Utils
-------

Copyright (c) 2018 - 2022 IOTech
https://github.com/IOTechSystems/iotech-c-utils


------------------------------------------------------------------------------

Expand Down
16 changes: 0 additions & 16 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ CPPCHECK=false
DOCGEN=false
CMAKEOPTS=-DCMAKE_EXPORT_COMPILE_COMMANDS=ON

TOMLVER=SDK-0.2
CUTILVER=1.4

# Process arguments

while [ $# -gt 0 ]
Expand Down Expand Up @@ -36,19 +33,6 @@ done
ROOT=$(dirname $(dirname $(readlink -f $0)))
cd $ROOT

# Dependencies

if [ ! -d deps ]
then
mkdir deps

# TOML Parser

wget -O - https://github.com/IOTechSystems/tomlc99/archive/$TOMLVER.tar.gz | tar -C deps -z -x -f -
cp deps/tomlc99-$TOMLVER/toml.* src/c

fi

# Cmake release build

mkdir -p $ROOT/build/release
Expand Down
Loading

0 comments on commit f894d10

Please sign in to comment.