mirror of
https://github.com/Ed94/metadesk.git
synced 2026-08-05 15:18:46 +00:00
rename samples to examples; delete dead build scripts
This commit is contained in:
@@ -9,9 +9,9 @@ root_path=$PWD
|
||||
|
||||
###### Bin Scripts ############################################################
|
||||
$bin_path/build_tests.sh
|
||||
$bin_path/build_samples.sh
|
||||
$bin_path/build_examples.sh
|
||||
$bin_path/run_tests.sh
|
||||
$bin_path/run_samples.sh
|
||||
$bin_path/run_examples.sh
|
||||
|
||||
###### Restore Path ###########################################################
|
||||
cd $og_path
|
||||
|
||||
@@ -6,14 +6,14 @@ cd "$(dirname "$0")"
|
||||
cd ..
|
||||
|
||||
###### Script #################################################################
|
||||
echo "~~~ Build All Samples ~~~"
|
||||
echo "~~~ Build All Exampes ~~~"
|
||||
bin/bld_core.sh show_ctx
|
||||
|
||||
bin/bld_core.sh unit old_style_custom_layer samples/old_style_custom_layer.c
|
||||
bin/bld_core.sh unit output_parse samples/output_parse/output_parse.c
|
||||
bin/bld_core.sh unit c_code_generation samples/c_code_generation.c
|
||||
bin/bld_core.sh unit node_errors samples/node_errors/node_errors.c
|
||||
bin/bld_core.sh unit parse_check samples/parse_check.c
|
||||
bin/bld_core.sh unit old_style_custom_layer examples/old_style_custom_layer.c
|
||||
bin/bld_core.sh unit output_parse examples/output_parse/output_parse.c
|
||||
bin/bld_core.sh unit c_code_generation examples/c_code_generation.c
|
||||
bin/bld_core.sh unit node_errors examples/node_errors/node_errors.c
|
||||
bin/bld_core.sh unit parse_check examples/parse_check.c
|
||||
|
||||
echo
|
||||
|
||||
|
||||
+9
-9
@@ -4,12 +4,12 @@
|
||||
og_path=$PWD
|
||||
cd "$(dirname "$0")"
|
||||
cd ..
|
||||
root_path=$PWD
|
||||
build_path=$root_path/build
|
||||
samples_path=$root_path/samples
|
||||
root_path=$PWD
|
||||
build_path=$root_path/build
|
||||
examples_path=$root_path/examples
|
||||
|
||||
echo ~~~ Running Output Parse Sample ~~~
|
||||
cd $samples_path
|
||||
echo ~~~ Running Output Parse Example ~~~
|
||||
cd $examples_path
|
||||
if [ -d "output_parse/examples" ]; then
|
||||
cd output_parse/examples
|
||||
mkdir -p output
|
||||
@@ -18,17 +18,17 @@ if [ -d "output_parse/examples" ]; then
|
||||
fi
|
||||
echo
|
||||
|
||||
echo ~~~ Running C Code Generation Sample ~~~
|
||||
echo ~~~ Running C Code Generation Example ~~~
|
||||
cd $build_path
|
||||
./c_code_generation.exe
|
||||
echo
|
||||
|
||||
echo ~~~ Running Error Generation Sample ~~~
|
||||
echo ~~~ Running Error Generation Example ~~~
|
||||
cd $build_path
|
||||
./node_errors.exe $samples_path/node_errors/node_errors.mdesk
|
||||
./node_errors.exe $examples_path/node_errors/node_errors.mdesk
|
||||
echo
|
||||
|
||||
echo ~~~ Running C++ Sample ~~~
|
||||
echo ~~~ Running C++ Example ~~~
|
||||
cd $build_path
|
||||
./cpp_build_test.exe
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user