Merge pull request #32 from icepic/main

Simplify samples/build.sh by using subshells
This commit is contained in:
drmortalwombat 2023-10-25 10:59:19 +02:00 committed by GitHub
commit 50031f56af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,45 +1,24 @@
#!/bin/sh #!/bin/sh
cd fractals
./build.sh
cd ..
cd games ( cd fractals ; ./build.sh )
./build.sh
cd ..
cd hires ( cd games ; ./build.sh )
./build.sh
cd ..
cd hiresmc ( cd hires ; ./build.sh )
./build.sh
cd ..
cd particles ( cd hiresmc ; ./build.sh )
./build.sh
cd ..
cd kernalio ( cd particles ; ./build.sh )
./build.sh
cd ..
cd memmap ( cd kernalio ; ./build.sh )
./build.sh
cd ..
cd rasterirq ( cd memmap ; ./build.sh )
./build.sh
cd ..
cd scrolling ( cd rasterirq ; ./build.sh )
./build.sh
cd ..
cd sprites ( cd scrolling ; ./build.sh )
./build.sh
cd ..
cd stdio ( cd sprites ; ./build.sh )
./build.sh
cd .. ( cd stdio ; ./build.sh )