Add C code generation example to clang and linux build scripts.

This commit is contained in:
Miguel Lechon
2021-01-26 06:48:53 +01:00
parent 5e48bf8693
commit 957996c6fa
2 changed files with 15 additions and 1 deletions
+8 -1
View File
@@ -22,6 +22,7 @@ echo ~~~ Build All Samples ~~~
$CC $compile_flags ../samples/old_style_custom_layer.c -o old_style_custom_layer
$CC $compile_flags ../samples/static_site_generator/static_site_generator.c -o static_site_generator
$CC $compile_flags ../samples/output_parse/output_parse.c -o output_parse
$CC $compile_flags ../samples/c_code_generation.c -o c_code_generation
echo
echo ~~~ Build All Tests ~~~
$CC $compile_flags ../tests/sanity_tests.c -o sanity_tests
@@ -32,7 +33,7 @@ popd
echo
echo ~~~ Running Sanity Tests ~~~
pushd build
sanity_tests
./sanity_tests
popd
echo
@@ -48,3 +49,9 @@ mkdir -p samples/output_parse/examples/output
pushd samples/output_parse/examples/output
../../../../build/output_parse ../example.md ../example2.md
popd
echo
echo ~~~ Running C Code Generation Sample ~~~
pushd build
./c_code_generation
popd