Converting from Bazaar
Old log: ------------------------------------------------------------ revno: 1 committer: cxford <cxford@aninix.net> branch nick: HelloWorld timestamp: Thu 2015-12-10 16:51:21 -0600 message: Initializing for repos
This commit is contained in:
commit
48ac2be371
29
Makefile
Normal file
29
Makefile
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
all: c csharp java bash php hack perl
|
||||||
|
echo Done;
|
||||||
|
|
||||||
|
c: helloworld.c /usr/bin/gcc
|
||||||
|
gcc -o helloworld helloworld.c
|
||||||
|
./helloworld
|
||||||
|
rm ./helloworld
|
||||||
|
|
||||||
|
java: helloworld.java /usr/bin/java /usr/bin/javac
|
||||||
|
javac helloworld.java
|
||||||
|
java helloworld
|
||||||
|
rm helloworld.class
|
||||||
|
|
||||||
|
bash: helloworld.bash /usr/bin/bash
|
||||||
|
bash helloworld.bash
|
||||||
|
|
||||||
|
php: helloworld.php /usr/bin/php
|
||||||
|
php helloworld.php
|
||||||
|
|
||||||
|
hack: helloworld.php /usr/bin/hhvm
|
||||||
|
hhvm --php helloworld.php
|
||||||
|
|
||||||
|
perl: helloworld.pl /usr/bin/perl
|
||||||
|
perl ./helloworld.pl
|
||||||
|
|
||||||
|
csharp: helloworld.csharp /usr/bin/mono /usr/bin/mcs
|
||||||
|
mcs helloworld.csharp
|
||||||
|
mono helloworld.exe
|
||||||
|
rm helloworld.exe
|
2
README.bzr
Normal file
2
README.bzr
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
This project is enabled for AniNIX::Bazaar. You can check it out remotely with the bzr package.
|
||||||
|
Project URL is bzr://bazaar.aninix.net/HelloWorld
|
2
helloworld.bash
Normal file
2
helloworld.bash
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
printf "Hello world!\n"
|
6
helloworld.c
Normal file
6
helloworld.c
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(int argc, char* argv[]) {
|
||||||
|
printf("Hello world!\n");
|
||||||
|
return 0;
|
||||||
|
}
|
9
helloworld.csharp
Normal file
9
helloworld.csharp
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace AniNIX {
|
||||||
|
class HelloWorld {
|
||||||
|
public static void Main(string[] args) {
|
||||||
|
Console.WriteLine("Hello world!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
7
helloworld.java
Normal file
7
helloworld.java
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import java.lang.System;
|
||||||
|
|
||||||
|
public class helloworld {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
System.out.println("Hello world!");
|
||||||
|
}
|
||||||
|
}
|
4
helloworld.php
Normal file
4
helloworld.php
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?php
|
||||||
|
echo "Hello world!
|
||||||
|
";
|
||||||
|
?>
|
2
helloworld.pl
Normal file
2
helloworld.pl
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/perl
|
||||||
|
print "Hello world!\n"
|
Loading…
Reference in New Issue
Block a user