mirror of
https://github.com/Ed94/metadesk.git
synced 2026-08-04 22:58:44 +00:00
[examples] custom user errors
This commit is contained in:
@@ -12,7 +12,7 @@ bin/bld_core.sh show_ctx
|
||||
metasrc="examples/metaprograms"
|
||||
|
||||
bin/bld_core.sh unit datadesk_like $metasrc/datadesk_like_template.c
|
||||
bin/bld_core.sh unit node_errors $metasrc/node_errors.c
|
||||
bin/bld_core.sh unit user_errors $metasrc/user_errors.c
|
||||
bin/bld_core.sh unit parse_check $metasrc/parse_check.c
|
||||
|
||||
echo
|
||||
|
||||
+1
-16
@@ -8,24 +8,9 @@ cd ..
|
||||
build_path=$root_path/build
|
||||
examples_path=$root_path/examples
|
||||
|
||||
echo ~~~ Running Output Parse Example ~~~
|
||||
cd $examples_path
|
||||
if [ -d "output_parse/examples" ]; then
|
||||
cd output_parse/examples
|
||||
mkdir -p output
|
||||
cd output
|
||||
$build_path/output_parse.exe ../example.mdesk ../example2.mdesk
|
||||
fi
|
||||
echo
|
||||
|
||||
echo ~~~ Running Error Generation Example ~~~
|
||||
cd $build_path
|
||||
./node_errors.exe $examples_path/node_errors/node_errors.mdesk
|
||||
echo
|
||||
|
||||
echo ~~~ Running C++ Example ~~~
|
||||
cd $build_path
|
||||
./cpp_build_test.exe
|
||||
./user_errors.exe $examples_path/mdesk_files/user_errors.mdesk
|
||||
echo
|
||||
|
||||
###### Restore Path ###########################################################
|
||||
|
||||
Reference in New Issue
Block a user