[hyena/gtk3] Add 'make hg' target for running the samples/tests



commit fff3331fd7559d15fd6ef5d9a0056e74f3cd5e5f
Author: Andrés G. Aragoneses <knocte gmail com>
Date:   Mon May 9 14:58:55 2011 -0500

    Add 'make hg' target for running the samples/tests

 Makefile.am |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index b6a3955..3d193c1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,6 +27,14 @@ test:
 	echo "Tests not enabled.  Pass --enable-tests to configure or ./autogen.sh"
 endif
 
+hg:
+	pushd bin; \
+	echo "class Entry { static void Main () { Hyena.Gui.TestModuleRunner.Run (); } }" > tester.cs; \
+	$(MCS) -r:Hyena.Gui.dll tester.cs; \
+	mono --debug tester.exe; \
+	rm tester.*; \
+	popd;
+
 MAINTAINERCLEANFILES = \
 	compile \
 	INSTALL \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]