From eb9e4c246b9c9c3407a3cccf2b50ce062ccb07b0 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 6 Dec 2012 14:20:42 +0000 Subject: [PATCH] 2012-12-06 15:19 UTC+0100 Viktor Szakats (harbour syenar.net) + extras/template/tests/hbstart.hb * extras/template/readme.txt + added dot prompt support/info --- harbour/ChangeLog.txt | 5 +++++ harbour/extras/template/readme.txt | 8 +++++++- harbour/extras/template/tests/hbstart.hb | 2 ++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 harbour/extras/template/tests/hbstart.hb diff --git a/harbour/ChangeLog.txt b/harbour/ChangeLog.txt index a624aa22dc..062f716ad1 100644 --- a/harbour/ChangeLog.txt +++ b/harbour/ChangeLog.txt @@ -10,6 +10,11 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2012-12-06 15:19 UTC+0100 Viktor Szakats (harbour syenar.net) + + extras/template/tests/hbstart.hb + * extras/template/readme.txt + + added dot prompt support/info + 2012-12-06 14:49 UTC+0100 Viktor Szakats (harbour syenar.net) * extras/template/core.prg * extras/template/corec.c diff --git a/harbour/extras/template/readme.txt b/harbour/extras/template/readme.txt index 908111520e..20ff4ad9fc 100644 --- a/harbour/extras/template/readme.txt +++ b/harbour/extras/template/readme.txt @@ -11,7 +11,7 @@ Build static lib: Build dynamic lib: $ hbmk2 -hbdyn hbtpl.hbp -Build sample and test code using: +Build and run sample and test code using: $ cd tests $ hbmk2 sample $ sample @@ -22,5 +22,11 @@ Run sample and test code using: $ hbrun tests/sample.prg $ hbrun tests/test.prg +Use lib from command prompt ("dot prompt"): + $ cd tests + $ hbrun + + . ? HBTPL_MYCONSTANT + . ? hbtpl_MyPublicFunction() [vszakats] diff --git a/harbour/extras/template/tests/hbstart.hb b/harbour/extras/template/tests/hbstart.hb new file mode 100644 index 0000000000..568aa49d2f --- /dev/null +++ b/harbour/extras/template/tests/hbstart.hb @@ -0,0 +1,2 @@ + +hbshell_ext_load( "hbtpl" )