mirror of
https://github.com/sebastianbergmann/docker-amiga-gcc.git
synced 2026-01-13 00:21:50 +00:00
Simplify
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
|||||||
/test
|
/test/hello
|
||||||
|
|
||||||
|
|||||||
@ -18,10 +18,6 @@
|
|||||||
<target name="test">
|
<target name="test">
|
||||||
<mkdir dir="${basedir}/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">
|
<exec executable="docker" taskname="docker">
|
||||||
<arg value="run"/>
|
<arg value="run"/>
|
||||||
<arg value="--rm"/>
|
<arg value="--rm"/>
|
||||||
@ -42,9 +38,6 @@
|
|||||||
<arg value="${basedir}/test:/host"/>
|
<arg value="${basedir}/test:/host"/>
|
||||||
<arg value="sebastianbergmann/amitools:latest"/>
|
<arg value="sebastianbergmann/amitools:latest"/>
|
||||||
<arg value="vamos"/>
|
<arg value="vamos"/>
|
||||||
<arg value="--quiet"/>
|
|
||||||
<arg value="--cpu"/>
|
|
||||||
<arg value="68020"/>
|
|
||||||
<arg value="/host/hello"/>
|
<arg value="/host/hello"/>
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
|
|||||||
9
test/hello.c
Normal file
9
test/hello.c
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
printf("Hello world!\n");
|
||||||
|
|
||||||
|
return(0);
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user