Moved example into own sub folder and prefixed all.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 15s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 15s
This commit is contained in:
parent
de377cf420
commit
a1ae7248ea
26 changed files with 285 additions and 282 deletions
31
src/example/hello-make4msx/build.bat
Normal file
31
src/example/hello-make4msx/build.bat
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
echo === Trigger workaround
|
||||
rem Fixme make will not build without targets files
|
||||
rem Fixme make will not build without updated time stamps
|
||||
dir
|
||||
copy /T build.bat HELLO.COM
|
||||
dir/w utils
|
||||
copy /T build.bat HELLO.HEX
|
||||
dir/w utils
|
||||
copy /T build.bat HELLO.REL
|
||||
dir/w utils
|
||||
copy /T HELLO.MAC HELLO.BAK
|
||||
dir/w utils
|
||||
copy /T HELLO.BAK HELLO.MAC
|
||||
echo === Running make
|
||||
omsxctl fail_after 300 seconds err_make 1
|
||||
echo "echo --- build init" > build1.bat
|
||||
make HELLO.MF /x > build2.bat
|
||||
echo === Concat shutdown
|
||||
echo "echo --- build shutdown" > build3.bat
|
||||
IFF "shutdown" == %1
|
||||
SET lastcmd=shutdown
|
||||
ELSE
|
||||
SET lastcmd=omsxctl fail_after 0
|
||||
ENDIFF
|
||||
echo %lastcmd% > build4.bat
|
||||
concat build1.bat + build2.bat + build3.bat + build4.bat buildrun.bat
|
||||
echo === Final script
|
||||
type buildrun.bat
|
||||
echo === Running build
|
||||
omsxctl fail_after 300 seconds err_build 1
|
||||
buildrun
|
||||
Loading…
Add table
Add a link
Reference in a new issue