mirror of
https://github.com/AntonioND/nitro-engine.git
synced 2025-06-18 16:45:33 -04:00
build: Add scripts to build assets in all examples
This commit is contained in:
parent
ba1da50c8a
commit
00568feec2
9
examples/2d_system/assets.sh
Normal file
9
examples/2d_system/assets.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for i in `ls`; do
|
||||||
|
if test -e $i/assets.sh ; then
|
||||||
|
cd $i;
|
||||||
|
sh assets.sh || { exit 1;};
|
||||||
|
cd ..;
|
||||||
|
fi;
|
||||||
|
done;
|
9
examples/assets.sh
Normal file
9
examples/assets.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for i in `ls`; do
|
||||||
|
if test -e $i/assets.sh ; then
|
||||||
|
cd $i;
|
||||||
|
sh assets.sh || { exit 1;};
|
||||||
|
cd ..;
|
||||||
|
fi;
|
||||||
|
done;
|
9
examples/effects/assets.sh
Normal file
9
examples/effects/assets.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for i in `ls`; do
|
||||||
|
if test -e $i/assets.sh ; then
|
||||||
|
cd $i;
|
||||||
|
sh assets.sh || { exit 1;};
|
||||||
|
cd ..;
|
||||||
|
fi;
|
||||||
|
done;
|
9
examples/loading/assets.sh
Normal file
9
examples/loading/assets.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for i in `ls`; do
|
||||||
|
if test -e $i/assets.sh ; then
|
||||||
|
cd $i;
|
||||||
|
sh assets.sh || { exit 1;};
|
||||||
|
cd ..;
|
||||||
|
fi;
|
||||||
|
done;
|
9
examples/other/assets.sh
Normal file
9
examples/other/assets.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for i in `ls`; do
|
||||||
|
if test -e $i/assets.sh ; then
|
||||||
|
cd $i;
|
||||||
|
sh assets.sh || { exit 1;};
|
||||||
|
cd ..;
|
||||||
|
fi;
|
||||||
|
done;
|
9
examples/physics/assets.sh
Normal file
9
examples/physics/assets.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for i in `ls`; do
|
||||||
|
if test -e $i/assets.sh ; then
|
||||||
|
cd $i;
|
||||||
|
sh assets.sh || { exit 1;};
|
||||||
|
cd ..;
|
||||||
|
fi;
|
||||||
|
done;
|
Loading…
Reference in New Issue
Block a user