commit 48ac2be3715b3e2a67a0e4523e1ecc3631761d5b Author: cxford Date: Thu Aug 4 12:13:12 2016 -0500 Converting from Bazaar Old log: ------------------------------------------------------------ revno: 1 committer: cxford branch nick: HelloWorld timestamp: Thu 2015-12-10 16:51:21 -0600 message: Initializing for repos diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6380195 --- /dev/null +++ b/Makefile @@ -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 diff --git a/README.bzr b/README.bzr new file mode 100644 index 0000000..2be0f40 --- /dev/null +++ b/README.bzr @@ -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 diff --git a/helloworld.bash b/helloworld.bash new file mode 100644 index 0000000..8d6ea8b --- /dev/null +++ b/helloworld.bash @@ -0,0 +1,2 @@ +#!/usr/bin/bash +printf "Hello world!\n" diff --git a/helloworld.c b/helloworld.c new file mode 100644 index 0000000..f526931 --- /dev/null +++ b/helloworld.c @@ -0,0 +1,6 @@ +#include + +int main(int argc, char* argv[]) { + printf("Hello world!\n"); + return 0; +} diff --git a/helloworld.csharp b/helloworld.csharp new file mode 100644 index 0000000..8f1b297 --- /dev/null +++ b/helloworld.csharp @@ -0,0 +1,9 @@ +using System; + +namespace AniNIX { + class HelloWorld { + public static void Main(string[] args) { + Console.WriteLine("Hello world!"); + } + } +} diff --git a/helloworld.java b/helloworld.java new file mode 100644 index 0000000..87ada02 --- /dev/null +++ b/helloworld.java @@ -0,0 +1,7 @@ +import java.lang.System; + +public class helloworld { + public static void main(String[] args) { + System.out.println("Hello world!"); + } +} diff --git a/helloworld.php b/helloworld.php new file mode 100644 index 0000000..3c6c990 --- /dev/null +++ b/helloworld.php @@ -0,0 +1,4 @@ + diff --git a/helloworld.pl b/helloworld.pl new file mode 100644 index 0000000..be76ec3 --- /dev/null +++ b/helloworld.pl @@ -0,0 +1,2 @@ +#!/usr/bin/perl +print "Hello world!\n"