summaryrefslogtreecommitdiffstats
path: root/src/helloworld.d
diff options
context:
space:
mode:
authorGravatar mszulecki2007-02-23 01:03:11 +0000
committerGravatar mszulecki2007-02-23 01:03:11 +0000
commit9d7a4bddb8e15687c654ab54c8e194fce2f00617 (patch)
treee8b6de694666c32e3173aa7be4fa4d9f39c43b86 /src/helloworld.d
parentfdecd53fa0fc7c2a9c85f8c5cd2503d1174d7310 (diff)
downloaddskel-9d7a4bddb8e15687c654ab54c8e194fce2f00617.tar.gz
dskel-9d7a4bddb8e15687c654ab54c8e194fce2f00617.tar.bz2
Add a sample static convenience library.
git-svn-id: http://svn.sukimashita.com/repos/dskel/trunk@13 4281df72-ff29-0410-8fee-2d9ac0c5f5a7
Diffstat (limited to 'src/helloworld.d')
-rwxr-xr-xsrc/helloworld.d3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/helloworld.d b/src/helloworld.d
index e1113cc..74f6428 100755
--- a/src/helloworld.d
+++ b/src/helloworld.d
@@ -1,9 +1,10 @@
import config;
+import testlibrary;
import std.stdio;
void main(char[][] args)
{
- writefln("Hello World, Version: " ~ config.VERSION);
+ writefln(HelloWorldFactory.getName() ~ ", Version: " ~ config.VERSION);
// auto type inference and built-in foreach
foreach (argc, argv; args)