Simplify
This commit is contained in:
parent
cf78f907ae
commit
f90156bf78
|
@ -1,2 +1,2 @@
|
|||
/test
|
||||
/test/hello
|
||||
|
||||
|
|
|
@ -18,10 +18,6 @@
|
|||
<target name="test">
|
||||
<mkdir dir="${basedir}/test"/>
|
||||
|
||||
<get src="https://raw.githubusercontent.com/Sakura-IT/Amiga-programming-examples/master/C/hello-world-amiga/hello.c"
|
||||
dest="${basedir}/test/hello.c"
|
||||
skipexisting="true"/>
|
||||
|
||||
<exec executable="docker" taskname="docker">
|
||||
<arg value="run"/>
|
||||
<arg value="--rm"/>
|
||||
|
@ -42,9 +38,6 @@
|
|||
<arg value="${basedir}/test:/host"/>
|
||||
<arg value="sebastianbergmann/amitools:latest"/>
|
||||
<arg value="vamos"/>
|
||||
<arg value="--quiet"/>
|
||||
<arg value="--cpu"/>
|
||||
<arg value="68020"/>
|
||||
<arg value="/host/hello"/>
|
||||
</exec>
|
||||
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
printf("Hello world!\n");
|
||||
|
||||
return(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue